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:
Tony Air 2013-10-27 08:24:14 +07:00
parent 14e5c80dad
commit 8343e77803

View File

@ -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({