##// END OF EJS Templates
Stripping of query string (since 88b4755fa48f) stripped too much (issue327)...
Thomas Arendsen Hein -
r3569:a27d90c9 default
parent child Browse files
Show More
@@ -240,7 +240,8 b' class httprepository(remoterepository):'
240 # this only happens with Python 2.3, later versions raise URLError
240 # this only happens with Python 2.3, later versions raise URLError
241 raise util.Abort(_('http error, possibly caused by proxy setting'))
241 raise util.Abort(_('http error, possibly caused by proxy setting'))
242 # record the url we got redirected to
242 # record the url we got redirected to
243 self._url = resp.geturl().rstrip(qs)
243 if resp.geturl().endswith(qs):
244 self._url = resp.geturl()[:-len(qs)]
244 try:
245 try:
245 proto = resp.getheader('content-type')
246 proto = resp.getheader('content-type')
246 except AttributeError:
247 except AttributeError:
General Comments 0
You need to be logged in to leave comments. Login now