Skip to content

Commit 067f92e

Browse files
authored
Merge pull request #5918 from Countly/SER-2270-percentage-symbol-in-an-event-name-breaks-drill
[SER-2270] Percentage symbol in an event name breaks drill
2 parents 7546337 + 306f1d0 commit 067f92e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
Fixes:
44
- [core] Fixed a bug causing events to not being loaded when there's an escaped character in the event name
5+
- [core] Fixed a bug that was causing drill to crash when there's a percentage symbol in the event name
56
- [gridfs] fixes for moving to Promises
67
- [reports] Fixes report generation failure due to SSL error
78
- [surveys] "Select one" text in the widget can be edited now

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)