Project

General

Profile

Bug #16898 ยป 16898.patch

Jim Pingle, 06/17/2026 06:15 PM

View differences:

src/usr/local/pfSense/include/www/system_advanced_misc.inc
$input_errors[] = gettext("Proxy URL must be a valid IP address or FQDN.");
}
if (preg_match('("|:|`|;|\r|\n)', $post['proxyuser']) === 1) {
$input_errors[] = gettext("Invalid proxy username.");
}
if (!empty($post['proxyuser']) && empty($post['proxypass'])) {
$input_errors[] = gettext("A proxy password must be set when specifying a proxy username.");
}
if (preg_match('("|;|`|\r|\n)', $post['proxypass']) === 1) {
$input_errors[] = gettext("Invalid proxy password.");
}
if ($post['proxypass'] != $post['proxypass_confirm']) {
$input_errors[] = gettext("Proxy password and confirmation must match.");
}
    (1-1/1)