Project

General

Profile

Bug #11680

Saving HAProxy FrontEnd description with umlauts causes configuration restore

Added by Viktor Gurov 2 months ago. Updated 2 months ago.

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

0%

Estimated time:
Affected 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?

History

#1 Updated by Viktor Gurov 2 months ago

similar to #10442

#3 Updated by Jim Pingle 2 months ago

  • Status changed from New to Pull Request Review

#4 Updated by Renato Botelho 2 months ago

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

PR has been merged. Thanks!

Also available in: Atom PDF