STATIC_URL value gets mangled when specifying URL starting with 'http://'
If I specify
STATIC_URL = "http://static.example.com/media"
in the html I will get
http:/static.example.com/media
(the double / of http:// is replaced by one)
After investigation it seems to me that the problems come from this line in ./askbot/skins/utils.py:
url = os.path.normpath(url).replace('\\', '/')
(line 163 on the current source code) , normpath may replace the // by /
Comments