mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Security fix (properly escapes href)
This commit is contained in:
parent
77a17361a5
commit
3c659184d3
1 changed files with 1 additions and 1 deletions
|
|
@ -127,7 +127,7 @@ function navigatedir(url, label, base, path, go_deep, print_html, ifid, host, st
|
|||
|
||||
if(print_html) then
|
||||
if(not(printed)) then print('<li class="divider"></li>\n') printed = true end
|
||||
print("<li> <A HREF="..url..what..">"..label.."</A> </li>\n")
|
||||
print("<li> <A HREF=\""..url..what.."\">"..label.."</A> </li>\n")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue