Showing
2 changed files
with
2 additions
and
2 deletions
@@ -13,7 +13,7 @@ var errReporter = { | @@ -13,7 +13,7 @@ var errReporter = { | ||
13 | sc: source, | 13 | sc: source, |
14 | ln: lineno, | 14 | ln: lineno, |
15 | cn: colno, | 15 | cn: colno, |
16 | - pt: location.href, | 16 | + pt: encodeURIComponent(location.href), |
17 | u: reporter.getUid(), | 17 | u: reporter.getUid(), |
18 | ud: reporter.getUdid(), | 18 | ud: reporter.getUdid(), |
19 | rid: reporter.getReqId(), | 19 | rid: reporter.getReqId(), |
@@ -62,7 +62,7 @@ var speedReporter = { | @@ -62,7 +62,7 @@ var speedReporter = { | ||
62 | addEvent: function() { | 62 | addEvent: function() { |
63 | var self = this; | 63 | var self = this; |
64 | var timeList = []; | 64 | var timeList = []; |
65 | - var pt = location.href; | 65 | + var pt = encodeURIComponent(location.href); |
66 | var u = reporter.getUid(); | 66 | var u = reporter.getUid(); |
67 | var ud = reporter.getUdid(); | 67 | var ud = reporter.getUdid(); |
68 | var rid = reporter.getReqId(); | 68 | var rid = reporter.getReqId(); |
-
Please register or login to post a comment