-
Bug
-
Resolution: Fixed
-
Normal
-
None
-
None
-
None
And I quote:
self.cleanUrl = function (sourceType, dirtyURL) {
dirtyURL = dirtyURL.replace(/^\s+/, '');
for (var group in MB.constants.CLEANUPS) {
if(!MB.constants.CLEANUPS.hasOwnProperty(group))
var cleanup = MB.constants.CLEANUPS[group];
if(!cleanup.hasOwnProperty('clean') || !cleanup.match.test(dirtyURL))
continue;
return cleanup.clean(dirtyURL);
}
return dirtyURL;
};
Presumably needs a line:
dirtyURL = dirtyURL.replace(/\s+$/, '');
or some way of combining that into the existing line