X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=functions%2Fhtml.php;h=62bcafcf13899962058621378416d1afee2ed26d;hb=e86403df82b8cd0ba6829e723fafe16df7aa1c21;hp=246808e1b88c1782aacee14ef632b179c13cd12d;hpb=c9aa0b4588d80d645a3b9ad4293bb646b0f62feb;p=squirrelmail.git diff --git a/functions/html.php b/functions/html.php index 246808e1..62bcafcf 100644 --- a/functions/html.php +++ b/functions/html.php @@ -88,6 +88,7 @@ '/.+(\\?'.$var.')=(.*)$/AU', /* at front and only var */ '/.+(\\&'.$var.')=(.*)$/AU' /* at the end */ ); +// preg_replace('/&/','&',$url); switch (true) { case (preg_match($pat_a[0],$url,$regs)): $k = $regs[1]; @@ -108,7 +109,7 @@ default: if ($val) { if (strpos($url,'?')) { - $url .= "&$var=$val"; + $url .= "&$var=$val"; } else { $url .= "?$var=$val"; } @@ -119,7 +120,7 @@ if ($k) { if ($val) { $rpl = "$k=$val"; - $rpl = preg_replace('/&/','&',$rpl); +// $rpl = preg_replace('/&/','&',$rpl); } else { $rpl = ''; }