X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=doc%2Fwebserver%2Factions%2Fstep2.php;h=bdc08cd33d830fde9a356b00cbcb58b6094fa729;hp=690decd5295924556a1968c60a37593a8bab2317;hb=56e38dc0aae22a1b09359b04dfbf90952ab87569;hpb=9da5436ab441e4669bf131e54cd1f7a52abbcb84 diff --git a/doc/webserver/actions/step2.php b/doc/webserver/actions/step2.php index 690decd5..bdc08cd3 100644 --- a/doc/webserver/actions/step2.php +++ b/doc/webserver/actions/step2.php @@ -8,9 +8,12 @@ This file belongs in ijbswa.sourceforge.net:/home/groups/i/ij/ijbswa/htdocs/ - $Id: step2.php,v 1.12 2002/04/08 17:04:05 oes Exp $ + $Id: step2.php,v 1.13 2002/04/09 13:08:21 oes Exp $ $Log: step2.php,v $ + Revision 1.13 2002/04/09 13:08:21 oes + declare script type + Revision 1.12 2002/04/08 17:04:05 oes Adapt to unified stylesheet @@ -298,7 +301,7 @@ if (!isset($problem) || $problem == "INVALID") /* * If the protocol is missing from $referrer_url, prepend "http://" */ -if (strncmp("http://", $referrer_url, 7)) +if (!preg_match('|^https?://|i', $referrer_url, $dummy)) { $referrer_url = "http://" . $referrer_url; }