[PATCH 0 of 4 stable] hgweb: fix broken URLs of RSS/Atom feeds (issue1772)

Patrick Mézard pmezard at gmail.com
Sat Mar 13 11:47:26 CST 2010


Le 10/03/10 16:33, Yuya Nishihara a écrit :
> These patches should fix issue1772: RSS feeds have broken links in 1.3.1
> 
> RSS/Atom template uses {urlbase}{url} to construct full URL.
> 
> Because {url} is built from SCRIPT_NAME and REPO_NAME, it shouldn't
> contain 'scheme://host:port' part. But since 2eb18c780287, {url} becomes full URL
> when you specify web.baseurl at config file.
> 
> This patch splits web.baseurl into SERVER_NAME, SERVER_PORT and SCRIPT_NAME
> accordingly.

I exchanged 3 and 4 order, then merged 3 into 2.

Queued for stable, thanks!

--
Patrick Mézard


More information about the Mercurial-devel mailing list