Skip to content
Permalink
Browse files Browse the repository at this point in the history
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: c048f23 ("luci-app-firewall: fix stored XSS in rule- and forward detail pages")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
  • Loading branch information
jow- committed Nov 15, 2019
1 parent ca98eae commit 3961268
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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", "")
Expand Down

0 comments on commit 3961268

Please sign in to comment.