Project

General

Profile

Actions

Bug #8962

closed

firewall_rules.edit.php: Double quotes in Gateway description cause blank gateway drop-down

Added by Jim Pingle about 6 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Rules / NAT
Target version:
Start date:
09/26/2018
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
All
Affected Architecture:
All

Description

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.

Actions

Also available in: Atom PDF