Project

General

Profile

Actions

Bug #13388

open

ACB: incorrect handling of international characters in the Hint/Identifier field

Added by Steve Wheeler about 2 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Auto Configuration Backup
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
22.11
Release Notes:
Default
Affected Version:
2.7.x
Affected Architecture:
All

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.

No data to display

Actions

Also available in: Atom PDF