Possible Bug with Mercurial hgwebdir and RSS

Sean Kelley svk.sweng at gmail.com
Wed Jul 11 11:27:18 CDT 2007


I host Mercurial hgwebdir on apache2 with SSL.  I noticed that when I
click on an RSS feed, that there is always an error because the URL is
changed from https:// to http:// with port 443.

For example:

I can get to the feed for the changelog:

https://hg.myserver.com/hgweb/montana/apps/calculator/rss-log

But when I click on one of the items listed, I get this and a resulting error:

http://hg.myserver.com:443/hgweb/montana/apps/calculator/rev/9c30d1b194c5

Bad Request

Your browser sent a request that this server could not understand.
Reason: You're speaking plain HTTP to an SSL-enabled server port.
Instead use the HTTPS scheme to access this URL, please.

    Hint: https://hg.myserver.com/

Why is it dropping https and instead changing it to http with port 443
when it builds the log?

I am using mercurial 0.9.4

Sean


More information about the Mercurial mailing list