mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 789094 - Style editor: scripts with unicode in the name are URL-escaped. r=dao,dcamp
--HG-- extra : rebase_source : 485f16ff27e111f6d99d29cacd18eeafa3913dc5
This commit is contained in:
parent
aa084ea292
commit
9b0c8fbc7e
@ -375,6 +375,10 @@ StyleEditor.prototype = {
|
||||
this._friendlyName = (sheetURI.indexOf(contentURI) == 0)
|
||||
? sheetURI.substring(contentURI.length)
|
||||
: sheetURI;
|
||||
try {
|
||||
this._friendlyName = decodeURI(this._friendlyName);
|
||||
} catch (ex) {
|
||||
}
|
||||
}
|
||||
return this._friendlyName;
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user