svn commit: r45478 - head/en_US.ISO8859-1/htdocs/cgi
Wolfram Schneider
wosch at FreeBSD.org
Tue Aug 19 15:44:26 UTC 2014
Author: wosch
Date: Tue Aug 19 15:44:26 2014
New Revision: 45478
URL: http://svnweb.freebsd.org/changeset/doc/45478
Log:
protocol independent url
Modified:
head/en_US.ISO8859-1/htdocs/cgi/cgi-lib.pl
Modified: head/en_US.ISO8859-1/htdocs/cgi/cgi-lib.pl
==============================================================================
--- head/en_US.ISO8859-1/htdocs/cgi/cgi-lib.pl Tue Aug 19 15:38:28 2014 (r45477)
+++ head/en_US.ISO8859-1/htdocs/cgi/cgi-lib.pl Tue Aug 19 15:44:26 2014 (r45478)
@@ -77,7 +77,7 @@ sub MethGet {
# MyURL
# Returns a URL to the script
sub MyURL {
- return 'http://' . $ENV{'SERVER_NAME'} . $ENV{'SCRIPT_NAME'};
+ return '//' . $ENV{'SERVER_NAME'} . $ENV{'SCRIPT_NAME'};
}
# CgiError
# Prints out an error message which containes appropriate headers,
More information about the svn-doc-all
mailing list