Project

General

Profile

Actions

Todo #16745

closed

Migrate ``config.xml`` encoding from ENT_HTML401 to ENT_XML1

Added by Manuel Carrera 2 months ago. Updated about 2 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Configuration Backend
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
26.03
Release Notes:
Default

Description

Hello, I had to upgrade to the latest Beta of pfSense Plus to fix another bug, and this has completely broke the descriptions of my configuration.

I write descriptions in my language with special characters (é, è, à...) and after the upgrade they are displayed as HTML entites in the GUI. For example...

DNS sécurisé

... becomes ...
DNS sécurisé

I made a backup and checked how this description is stored:

<descr><![CDATA[DNS s&amp;eacute;curis&amp;eacute;]]></descr>

I tried to fix the encoding in the backup (replace all "& amp;eacute;" with "& eacute;") and do a restore, but the descriptions are broken again immediately after the restore. If I do another backup, all "& eacute;" have reverted back to "& amp;eacute;".

I tried to upgrade again to the latest version 26.03 RC, but the result is exactly the same.

Actions

Also available in: Atom PDF