[PATCH] fix bug in https url handling

Alexis S. L. Carvalho alexis at cecm.usp.br
Fri Nov 2 20:37:46 CDT 2007

Thus spake Elliot Peele:
> Mercurial 0.9.5 introduced a bug in https url handling where usernames
> and passwords were registered to the wrong url in the password manager.
> The attached patch addresses this issue.

This patch is the exact reversal of changeset 942c0827dc5b, so can you
give some additional details, such as:

- are you sure it only happens with https?

- python version?

- what does your URL look like?  In particular, does it have a port
  number and/or %XY escaped characters and/or spaces?  With --debug, hg
  will print something like "using <url>" (without username/password).
  How does that compare to your original URL?

- are there redirections involved?  With --verbose (or --debug), hg will
  print "real URL is <url>" if it's redirected.


More information about the Mercurial-devel mailing list