Merge branch 'wip-MDL-47583-m26' of git://github.com/marinaglancy/moodle into MOODLE_26_STABLE
This commit is contained in:
@@ -83,7 +83,7 @@
|
||||
patt = new RegExp(base.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&') + "(.+?)[\\?\"']", 'gm'),
|
||||
arr = [], match, filename;
|
||||
while ((match = patt.exec(text)) !== null) {
|
||||
filename = unescape(match[1]);
|
||||
filename = decodeURI(match[1]);
|
||||
if (arr.indexOf(filename) === -1) {
|
||||
arr[arr.length] = filename;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user