diff --git a/source/Ox.UI/js/Core/Ox.URL.js b/source/Ox.UI/js/Core/Ox.URL.js index 6f2892e7..10be5440 100644 --- a/source/Ox.UI/js/Core/Ox.URL.js +++ b/source/Ox.UI/js/Core/Ox.URL.js @@ -252,7 +252,9 @@ Ox.URL = function(options) { parts.push(constructFind(state.find)); } } - return '/' + parts.join('/'); + return '/' + Ox.map(parts, function(part) { + return part || null; + }).join('/'); } function decodeValue(str) {