firewall_rules.edit.php: Double quotes in Gateway description cause blank gateway drop-down
A gateway description with double quotes breaks the JSON used to form the gateway drop-down options, resulting in a blank gateway list.
Easy to replicate, set the description for any gateway to
blah "blah" blah.
It is encoded safely but still results in invalid JSON.
To me, I have a fix.
#2 Updated by Steve Wheeler over 2 years ago
- Status changed from Feedback to Resolved
2.4.5-DEVELOPMENT (amd64) built on Mon Oct 01 01:24:24 EDT 2018 FreeBSD 11.2-RELEASE-p4
Set gateway description as 'Interface "WAN_DHCP" Gateway'. Does not appear the firewall drop-down in 2.4.4. Prevents 'Default' showing even. Works in 2.4.5.