author | Jakub Narebski <jnareb@gmail.com> | |
Sun, 19 Nov 2006 14:05:21 +0000 (15:05 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 21 Nov 2006 22:35:41 +0000 (14:35 -0800) | ||
commit | bd5d1e42fb8edffa4e35d1257f648d586b2d054c | |
tree | 34cb3f994add04828dd280614c46b01a7ce3ff66 | tree | snapshot |
parent | 59e3b14e08bf309baa692bf251b2cedcde131308 | commit | diff |
gitweb: Add an option to href() to return full URL
href subroutine by default generates absolute URL (generated using
CGI::url(-absolute=>1), and saved in $my_uri) using $my_uri as base;
add an option to generate full URL using $my_url as base.
New feature usage: href(..., -full=>1)
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
href subroutine by default generates absolute URL (generated using
CGI::url(-absolute=>1), and saved in $my_uri) using $my_uri as base;
add an option to generate full URL using $my_url as base.
New feature usage: href(..., -full=>1)
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl | diff | blob | history |