1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

Goodbye Magic Quotes

This commit is contained in:
Sara Golemon
2019-07-10 13:43:58 -04:00
parent 464ff738ba
commit cfc6b38ec8
6 changed files with 6 additions and 31 deletions

View File

@@ -8,13 +8,6 @@ $_FORM = &$_GET;
// ---------------------------------------------------------------------------
// If PHP added some slashes to quotes, get rid of them
if ($MQ) {
foreach ($_FORM as $name => $value) {
$_FORM[$name] = stripslashes($value);
}
}
// We received something to search for
if (!empty($_FORM['pattern'])) {