com web/php: Fix bug #71939 (Double escaped search): error.php
| From: | Christoph Michael Becker | Date: | Wed, 13 Apr 2016 10:05:55 +0000 |
| Subject: | com web/php: Fix bug #71939 (Double escaped search): error.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-25195@lists.php.net to get a copy of this message | ||
Commit: 410b34e36176a979a28710f6b4bf438912a32d5c
Author: Niklas Keller <me@kelunik.com> Wed, 13 Apr 2016 12:05:55 +0200
Parents: 0582d0350d7bcc8b6f9642e73ff7ba79f6fd38a8
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=410b34e36176a979a28710f6b4bf438912a32d5c
Log:
Fix bug #71939 (Double escaped search)
Bugs:
https://bugs.php.net/71939
Changed paths:
M error.php
Diff:
diff --git a/error.php b/error.php
index c305820..da312e8 100644
--- a/error.php
+++ b/error.php
@@ -544,7 +544,7 @@ if (strpos($URI, "manual/") === 0) {
$fallback = (myphpnet_urlsearch() === MYPHPNET_URL_MANUAL ? "404manual" :
"404quickref");
mirror_redirect(
'/search.php?show=' . $fallback . '&lang=' . urlencode($LANG) .
- '&pattern=' . urlencode(substr($_SERVER['REQUEST_URI'], 1))
+ '&pattern=' . substr($_SERVER['REQUEST_URI'], 1)
);
/*
* vim: set et ts=4 sw=4 ft=php: :