Maybe this is about second example in here: http://docs.python.org/library/urlparse.html#urlparse.urlparse ?
2011/12/6 Luciano Pacheco <lucm...@gmail.com> > On Tue, Dec 6, 2011 at 9:00 AM, Cal Leeming [Simplicity Media Ltd] < > cal.leem...@simplicitymedialtd.co.uk> wrote: > >> Not sure if this should have a bug ticket raised or not.. wanted to get >> core devs thoughts. >> >> >> _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 var has an ambiguous string. > > Is it malformed, missing the "protocol:" like "http:" or "https:" . Or > "malformed" in URI's path part? > > So, it seems not obvious to handle it. Let's refuse the temptation to > guess. ;-) > > Regards, > -- > Luciano Pacheco > blog.lucmult.com.br > > -- > You received this message because you are subscribed to the Google Groups > "Django developers" group. > To post to this group, send email to django-developers@googlegroups.com. > To unsubscribe from this group, send email to > django-developers+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-developers?hl=en. > -- http://yasar.serveblog.net/ -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.