On Mon, Dec 5, 2011 at 4:00 PM, Cal Leeming [Simplicity Media Ltd] <[email protected]> wrote: > _redir = "//your/path/with/an/extra/slash/for/whatever/reason" > HttpResponseRedirect(_redir) > returns "Location: http://your/path/with/an/extra/slash/for/whatever/reason" > > _redir = "/your/path/with/no/extra/slash" > HttpResponseRedirect(_redir) > returns "Location: /your/path/with/no/extra/slash" > > It seems that if the URL has an extra slash on the start of it, redirection > doesn't work properly. > > Should this be classed as bad user sanity checking, or > HttpResponseRedirect() not being flexible enough?
I'd classify this one as bad user sanity checking. Doesn't seem like the thing that happens frequently enough for us to check for it. Adrian -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.
