Friday, December 2, 2011

Re: double trailing slash in url

On Thu, Dec 1, 2011 at 6:34 PM, Brian Craft <bcboy@thecraftstudio.com> wrote:
I don't think so. It's not issuing a redirect. It's just serving the
view, even though the url spec doesn't match.


I suspect your web server is collapsing the multiple slashes into a single one, so that the Django code doesn't even see them.

Try using the dev server to access the url with multiple slashes -- the dev server won't collapse the slashes,  so I suspect you'll see the 404 you are expecting for that case.

Karen
--
http://tracey.org/kmt/

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment