MOON
Server: Apache
System: Linux vps.erhabenn.com.br 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64
User: machen (1008)
PHP: 8.2.31
Disabled: NONE
Upload Files
File: /disk001/machen/www/support/wp-content/plugins/h5p/admin/class-h5p-utils.php
<?php
trait H5PUtils {
    /**
     * Filters and sanitizes input, replacing FILTER_SANITIZE_STRING.
     *
     * @param string $var_name Name of the variable to sanitize.
     * @return string Sanitized value.
     */
    public function sanitize_input($var_name): string
    {
        $var_name = filter_input(INPUT_GET, $var_name);
        return htmlspecialchars($var_name ?? '', ENT_QUOTES, 'UTF-8');
    }
}