diff options
author | Renato Botelho <renato.botelho@bluepex.com> | 2009-06-30 08:52:47 -0300 |
---|---|---|
committer | Renato Botelho <renato.botelho@bluepex.com> | 2009-06-30 08:52:47 -0300 |
commit | 6819b7f60c841f89e415d6547e2e776cf1a47c5e (patch) | |
tree | 730a77b1af0341d03ac86df195ebe05963b41fa3 /usr | |
parent | 2a48bc009d30c07a5bce188ddd7041e64f9a2e8a (diff) | |
download | pfsense-6819b7f60c841f89e415d6547e2e776cf1a47c5e.zip pfsense-6819b7f60c841f89e415d6547e2e776cf1a47c5e.tar.gz |
Fix last commit preserving < and > on xml_rootobj checking
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/diag_backup.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/diag_backup.php b/usr/local/www/diag_backup.php index 5d03185..d7fe52e 100755 --- a/usr/local/www/diag_backup.php +++ b/usr/local/www/diag_backup.php @@ -263,7 +263,7 @@ if ($_POST) { $savemsg = "The configuration area has been restored. You may need to reboot the firewall."; } } else { - if(!stristr($data, $g['xml_rootobj'])) { + if(!stristr($data, "<" . $g['xml_rootobj'] . ">")) { $input_errors[] = "You have selected to restore the full configuration but we could not locate a " . $g['xml_rootobj'] . " tag."; } else { /* restore the entire configuration */ |