Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
By setting $_SERVER["PATH_INFO"] and $_REQUEST['page'] to empty strings if they are not already defined. This is to avoid passing `null` to `preg_match()` and `str_replace()` (used in `sanitizeFilename()`), since this is deprecated in PHP 8.1. This approach is recommended here: https://php.watch/versions/8.1/internal-func-non-nullable-null-deprecation
- Loading branch information