mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
BUG onDemand plugin fixture
Added trim() to decodePath function. Headers X-Include-* comes with a space so some files are loaded twice. Looks like that depends on a webserver. nginx has the space.
This commit is contained in:
parent
14e5c80dad
commit
8343e77803
@ -16,7 +16,7 @@
|
||||
(function($){
|
||||
|
||||
var decodePath = function(str) {
|
||||
return str.replace(/%2C/g,',').replace(/\&/g, '&');
|
||||
return str.replace(/%2C/g,',').replace(/\&/g, '&').trim();
|
||||
};
|
||||
|
||||
$.extend({
|
||||
|
Loading…
x
Reference in New Issue
Block a user