fix: small details were preventing to re-save frontends,backends and healthchecks in opnsense UI #248

Merged
johnride merged 1 commits from fix/load-balancer-xml into master 2026-03-17 14:38:37 +00:00
Owner

Fixed multiple details which were preventing to edit&save haproxy's frontends, backends and healthchecks :

  • Name (frontends + backends) : ":" are not allowed, replaced by "_"
  • Name (healthchecks) : "?" and "," are not allowed. Removed the query path and added the port to the healthcheck's name.
  • HTTP_METHOD (healthcheck): even if the UI shows it in UPPERCASE, it needs to be in LOWERCASE in config.xml to work
  • Frontend service : added config fields which needs a defined value in order to be able to save in opnsense ui
Fixed multiple details which were preventing to edit&save haproxy's frontends, backends and healthchecks : - Name (frontends + backends) : ":" are not allowed, replaced by "_" - Name (healthchecks) : "?" and "," are not allowed. Removed the query path and added the port to the healthcheck's name. - HTTP_METHOD (healthcheck): even if the UI shows it in UPPERCASE, it needs to be in LOWERCASE in config.xml to work - Frontend service : added config fields which needs a defined value in order to be able to save in opnsense ui
stremblay added 1 commit 2026-03-13 14:39:00 +00:00
fix: small details were preventing to re-save frontends,backends and healthchecks in opnsense UI
All checks were successful
Run Check Script / check (pull_request) Successful in 2m12s
67c3265286
Owner

Feels really painful to have to hardcode stuff like that... it will bite us back at some point.

Feels really painful to have to hardcode stuff like that... it will bite us back at some point.
johnride merged commit 8499f4d1b7 into master 2026-03-17 14:38:37 +00:00
johnride deleted branch fix/load-balancer-xml 2026-03-17 14:38:37 +00:00
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: NationTech/harmony#248
No description provided.