Project

General

Profile

Actions

Bug #11680

closed

Saving HAProxy FrontEnd description with umlauts causes configuration restore

Added by Viktor Gurov about 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Viktor Gurov
Category:
haproxy
Target version:
-
Start date:
03/16/2021
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
Affected Plus Version:
Affected Architecture:

Description

https://forum.netgate.com/topic/162010/saving-haproxy-config-causes-config-restore:

On pfSense 2.5.0, HAProxy, i try to save a new FrontEnd Configuration via GUI. I immediately get this error after clicking on save:

/haproxy/haproxy_listeners_edit.php: XML error: Undeclared entity error at line 2543 in /conf/config.xml
/haproxy/haproxy_listeners_edit.php: pfSense is restoring the configuration /cf/conf/backup/config-1615552899.xml
/haproxy/haproxy_listeners_edit.php: New alert found: pfSense is restoring the configuration /cf/conf/backup/config-1615552899.xml

I'm using haproxy 0.61_1 from the official packages repo.

I just found a config file with the file extenstion .bad:

<haproxy>
            <ha_backends>
                <item>
                    <name>gw-wan-003.xxxxx.xy</name>
                    <desc>HTTPS Frontend f&uuml;r mehrere Backends</desc>    <------ line 2543
                    <status>active</status>
...

Does it evetually having something to do with the Umlauts (ü = ü) of the german language?

Actions #1

Updated by Viktor Gurov about 3 years ago

similar to #10442

Actions #3

Updated by Jim Pingle about 3 years ago

  • Status changed from New to Pull Request Review
Actions #4

Updated by Renato Botelho about 3 years ago

  • Status changed from Pull Request Review to Feedback
  • Assignee set to Viktor Gurov

PR has been merged. Thanks!

Actions #5

Updated by Danilo Zrenjanin almost 3 years ago

  • Status changed from Feedback to Resolved

Tested on the latest development release.

haproxy-devel 0.62_3

All characters can be used in the description field. Ticket resolved

Actions

Also available in: Atom PDF