sapling/mercurial/hgweb
Angel Ezquerra b6d710beb8 hgwebdir: use web.prefix when creating url breadcrumbs (issue3790)
The web.prefix setting was being ignored when creating the index URL
breadcrumbs.

We only need to fix hgwebdir and not hgweb because hgweb gets the complete URL
request, including the prefix, while hgwebdir gets a "subdir" which does not
include the prefix.

This fix is slightly different of what was suggested on the bug tracker. In
there it was suggested to hide the prefix itself from the breadcrumb. I think
that would be a better solution, but it would require changing all the index
templates and passing the prefix to the template engine, which may be too big
a change for stable during the freeze. For now this fixes the problem, and the
fix could be improved during the next cycle.
2013-01-31 22:36:22 +01:00
..
__init__.py hgweb: make hgweb.hgweb a unified interface to hgweb/hgwebdir 2010-04-26 11:03:40 -05:00
common.py hgweb: pass the actual response body to request.response, not just the length 2013-01-15 01:07:03 +01:00
hgweb_mod.py hgwebdir: use web.prefix when creating url breadcrumbs (issue3790) 2013-01-31 22:36:22 +01:00
hgwebdir_mod.py hgwebdir: use web.prefix when creating url breadcrumbs (issue3790) 2013-01-31 22:36:22 +01:00
protocol.py hgweb: pass the actual response body to request.response, not just the length 2013-01-15 01:07:03 +01:00
request.py hgweb: pass the actual response body to request.response, not just the length 2013-01-15 01:07:03 +01:00
server.py serve: don't send any content headers with 304 responses 2013-01-15 20:54:57 +01:00
webcommands.py hgweb: prevent traceback during search when filtered (issue3783) 2013-01-29 16:44:51 +01:00
webutil.py hgweb: fix navigation label (issue3792) 2013-01-30 17:32:17 +01:00
wsgicgi.py fix trivial spelling errors 2012-08-15 22:38:42 +02:00