Opened 11 years ago

Closed 11 years ago

#7493 closed (duplicate)

build_absolute_url method of the HttpRequest class fails with urls with : in their path

Reported by: anonymous Owned by: nobody
Component: Uncategorized Version: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


When build_absolute_url is called for a location that should contain a ":" character in it's path it fails to add the "" part.

This is because off line 76 of django/http/ where "if not ':' in location:" is used to check if the location is already absolute.

According to it is perfectly valid to have a ":" in the path part of a HTTP url.

Change History (1)

comment:1 Changed 11 years ago by anonymous

Resolution: duplicate
Status: newclosed

Sorry, created this ticket twice by mistake. Must have hit the submit button to early here.

Note: See TracTickets for help on using tickets.
Back to Top