Skip to content

Commit

Permalink
Fixed the issue of "encodeURIComponent" and "unescape" pair by changing
Browse files Browse the repository at this point in the history
the latter to "decodeURIComponent".
  • Loading branch information
yayamamo committed Mar 14, 2015
1 parent 8ada275 commit 14e55e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web-ui/src/main/webapp/scripts/lode.js
Original file line number Diff line number Diff line change
Expand Up @@ -1470,7 +1470,7 @@ function setNamespaces (namespaces) {
}

function _betterUnescape (s) {
return unescape(s.replace(/\+/g, ' '));
return decodeURIComponent(s.replace(/\+/g, ' '));
}

function resetPage() {
Expand Down

0 comments on commit 14e55e3

Please sign in to comment.