build_absolute_url method of the HttpRequest class fails with urls with : in their path
|Reported by:||anonymous||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
When build_absolute_url is called for a location that should contain a ":" character in it's path it fails to add the "http://www.example.com" part.
This is because off line 76 of django/http/init.py where "if not ':' in location:" is used to check if the location is already absolute.
According to http://www.faqs.org/rfcs/rfc1738.html it is perfectly valid to have a ":" in the path part of a HTTP url.