summaryrefslogtreecommitdiff
path: root/t/t2203-add-intent.sh
diff options
context:
space:
mode:
authorLibravatar Giuseppe Bilotta <giuseppe.bilotta@gmail.com>2009-01-02 12:34:40 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-01-06 19:33:24 -0800
commitfb098a942b925296e0e86b6935a4fdda872e2f99 (patch)
treeafd2d470a4fb920c6f5dcf1cc9148b340db8a1fa /t/t2203-add-intent.sh
parentgitweb: use href() when generating URLs in OPML (diff)
downloadtgif-fb098a942b925296e0e86b6935a4fdda872e2f99.tar.xz
gitweb: don't use pathinfo for global actions
With PATH_INFO urls, actions for the projects list (e.g. opml, project_index) were being put in the URL right after the base. The resulting URL is not properly parsed by gitweb itself, since it expects a project name as first component of the URL. Accepting global actions in use_pathinfo is not a very robust solution due to possible present and future conflicts between project names and global actions, therefore we just refuse to create PATH_INFO URLs when the project is not defined. Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> Acked-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t2203-add-intent.sh')
0 files changed, 0 insertions, 0 deletions