We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 857f0c5 commit 3ec9c23Copy full SHA for 3ec9c23
lib/common.php
@@ -297,7 +297,9 @@ function stopwatch() {
297
* Strip slashes from GET, POST, and COOKIE variables if this
298
* PHP install is configured to automatically addslashes()
299
*/
300
-if (@get_magic_quotes_gpc() && (! isset($slashes_stripped) || ! $slashes_stripped)) {
+if (@version_compare(phpversion(), '5.4.0', '<') &&
301
+ @get_magic_quotes_gpc() &&
302
+ (!isset($slashes_stripped) || !$slashes_stripped)) {
303
array_stripslashes($_REQUEST);
304
array_stripslashes($_GET);
305
array_stripslashes($_POST);
0 commit comments