Project

General

Profile

Actions

Feature #13388

closed

Support for international characters in the AutoConfigBackup Hint/Identifier field

Added by Steve Wheeler over 1 year ago. Updated over 1 year 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 #1

Updated by Jim Pingle over 1 year ago

  • Plus Target Version changed from 22.11 to 23.01
Actions #2

Updated by Jim Pingle over 1 year ago

  • Assignee set to Jim Pingle
Actions #3

Updated by Jim Pingle over 1 year ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100
Actions #4

Updated by Danilo Zrenjanin over 1 year ago

  • Status changed from Feedback to Resolved

I was able to recreate the issue on the 22.05.

It worked as expected when I tested it against:

23.01-DEVELOPMENT (amd64)
built on Fri Dec 02 06:04:48 UTC 2022
FreeBSD 14.0-CURRENT

I am marking this ticket resolved.

Actions #5

Updated by Jim Pingle over 1 year ago

  • Tracker changed from Bug to Feature
  • Subject changed from ACB: incorrect handling of international characters in the Hint/Identifier field to Support for international characters in the AutoConfigBackup Hint/Identifier field
  • Affected Version deleted (2.7.x)
  • Affected Architecture deleted (All)

Updating subject for release notes.

Actions

Also available in: Atom PDF