Actions
Feature #13388
closedSupport for international characters in the AutoConfigBackup Hint/Identifier field
Status:
Resolved
Priority:
Normal
Assignee:
Category:
Auto Configuration Backup
Target version:
Start date:
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
23.01
Release Notes:
Default
Description
Using unexpected characters in the Hint/Identifier field results in an invalid xml error.
For example using the value "Testü" results in:
Aug 2 13:24:53 php-fpm 29253 /services_acb_settings.php: Configuration Change: admin2@172.21.16.5 (Local Database): AutoConfigBackup settings updated Aug 2 13:24:53 php-fpm 29253 /services_acb_settings.php: XML error: Undeclared entity error at line 92 in /conf/config.xml Aug 2 13:24:53 php-fpm 29253 /services_acb_settings.php: pfSense is restoring the configuration /cf/conf/backup/config-1659443081.xml Aug 2 13:24:53 php-fpm 29253 /services_acb_settings.php: New alert found: pfSense is restoring the configuration /cf/conf/backup/config-1659443081.xml
Tested:
2.7.0-DEVELOPMENT (amd64) built on Fri Jul 29 06:15:24 UTC 2022 FreeBSD 12.3-STABLE
Also fails in 2.6.
Actions