]> git.ipfire.org Git - thirdparty/AWStats.git/commitdiff
Prepare code for decodeUTFkeys plugin.
authoreldy <>
Mon, 29 Sep 2003 17:14:27 +0000 (17:14 +0000)
committereldy <>
Mon, 29 Sep 2003 17:14:27 +0000 (17:14 +0000)
wwwroot/cgi-bin/awstats.pl

index 9a884c699921c2f8673945a300aa3ab5e8cd2489..073a796c0cf18ddc47ebfc42862dd6237507bdd5 100644 (file)
@@ -6307,6 +6307,7 @@ if ($UpdateStats && $FrameName ne 'index' && $FrameName ne 'mainleft') {  # Updat
                                                                                # We found good parameter
                                                                                $param =~ s/.*=//;
                                                                                # Now param is keyphrase: "aaa+bbb/ccc+ddd%20eee'fff,ggg"
+                                                                               $param =~ s/^(cache|related):[^\+]+//;
                                                                                &ChangeWordSeparatorsIntoSpace($param);                 # Change [ aaa+bbb/ccc+ddd%20eee'fff,ggg ] into [ aaa bbb/ccc ddd eee fff ggg ]
                                                                                # TODO Add a plugin to convert utf8 coded params (google, alltheweb) into locally coded string ($PageCode)
                                                                                $param =~ s/^ +//; $param =~ s/ +$//; $param =~ tr/ /\+/s;