Project

General

Profile

Actions

Feature #13388

closed

Support for international characters in the AutoConfigBackup Hint/Identifier field

Added by Steve Wheeler over 2 years ago. Updated almost 2 years ago.

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

Also available in: Atom PDF