forked from 0x2620/pandora
escape find values in url
This commit is contained in:
parent
959ffaba25
commit
8c25aceb67
6 changed files with 13 additions and 10 deletions
|
|
@ -781,7 +781,7 @@ pandora.ui.infoView = function(data) {
|
|||
function formatValue(value, key) {
|
||||
return (Ox.isArray(value) ? value : [value]).map(function(value) {
|
||||
return key ?
|
||||
'<a href="/' + key + '=' + value + '">' + value + '</a>'
|
||||
'<a href="/' + key + '=' + pandora.escapeQueryValue(value) + '">' + value + '</a>'
|
||||
: value;
|
||||
}).join(', ');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue