svn commit: r45478 - head/en_US.ISO8859-1/htdocs/cgi

Wolfram Schneider <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
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,
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.