luci-app-firewall: fix stored XSS in rule-details.lua
A previous fix to this file failed to address a second instance of the
same issue.
Fixes: c048f23ba
("luci-app-firewall: fix stored XSS in rule- and forward detail pages")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
ca98eae724
commit
3961268597
1 changed files with 1 additions and 1 deletions
|
@ -190,7 +190,7 @@ else
|
|||
name = translate("(Unnamed Rule)")
|
||||
end
|
||||
|
||||
m.title = "%s - %s" %{ translate("Firewall - Traffic Rules"), name }
|
||||
m.title = "%s - %s" %{ translate("Firewall - Traffic Rules"), luci.util.pcdata(name) }
|
||||
|
||||
|
||||
s = m:section(NamedSection, arg[1], "rule", "")
|
||||
|
|
Loading…
Reference in a new issue