Browse Source

This is the only filter that works???

meta_tags
parent
commit
8553d1e690
No known key found for this signature in database GPG Key ID: B9ECA7B2228FC760
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      res/php/headtags.php

+ 1
- 1
res/php/headtags.php View File

@ -33,7 +33,7 @@
// FIXME: FILTER_SANITIZE_EMAIL is the wrong filter for this and is potentially insecure.
// ! Do not deploy.
$pageName = ucwords(
filter_var($_SERVER['REQUEST_URI'], FILTER_SANITIZE_SPECIAL_CHARS)
filter_var($_SERVER['REQUEST_URI'], FILTER_SANITIZE_EMAIL)
);
}
if ($pageDescription === null) {


Loading…
Cancel
Save