Re: double trailing slash in url

2011-12-02 Thread Karen Tracey
On Thu, Dec 1, 2011 at 6:34 PM, Brian Craft 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

Re: double trailing slash in url

2011-12-01 Thread Brian Craft
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. On Thu, Dec 1, 2011 at 2:42 PM, creecode wrote: > Hello Brain, > > Could it be you are seeing the results of the APPEND_SLASH setting < >

Re: double trailing slash in url

2011-12-01 Thread creecode
Hello Brain, Could it be you are seeing the results of the APPEND_SLASH setting < https://docs.djangoproject.com/en/1.3/ref/settings/#append-slash >. Toodle-loo... creecode -- You received this message because you are subscribed to the Google Groups "Django users" group. To view

double trailing slash in url

2011-12-01 Thread Brian Craft
I have a url spec like so: (r'^foo/$', 'blah') I just noted from our server logs that if someone mistakenly types two slashes ('foo//'), the page gets served, but all of the relative links are broken. It's really confusing. I believe it should be redirecting or 404ing instead. I note that