Skip to content

Commit 696b6f4

Browse files
author
Cihad Tekin
committed
[core] Encoding url before changing history state
1 parent 68fa529 commit 696b6f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/express/public/javascripts/countly/countly.template.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3901,7 +3901,7 @@ Backbone.history.checkUrl = function() {
39013901

39023902
Backbone.history.noHistory = function(hash) {
39033903
if (history && history.replaceState) {
3904-
history.replaceState(undefined, undefined, hash);
3904+
history.replaceState(undefined, undefined, encodeURI(hash));
39053905
}
39063906
else {
39073907
location.replace(hash);

0 commit comments

Comments
 (0)