Skip to content

Commit 5998f12

Browse files
author
Mike Taylor
committed
Issue #1023. Decode encoded URI issues model param values.
1 parent e8da2c7 commit 5998f12

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

webcompat/static/js/lib/issue-list.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,9 @@ issueList.IssueView = Backbone.View.extend(
440440
var kvArray = param.split('=');
441441
var key = kvArray[0];
442442
var value = kvArray[1];
443+
if (decodeURIComponent(value) !== value) {
444+
value = decodeURIComponent(value);
445+
}
443446
this.issues.params[key] = value;
444447
}, this));
445448
},

0 commit comments

Comments
 (0)