encode state.part in url, fixes #2725

This commit is contained in:
j 2015-03-31 20:53:55 +02:00
parent e6178af146
commit 398e3f6749

View file

@ -536,7 +536,7 @@ Ox.URL = function(options) {
if (state.page) { if (state.page) {
parts.push(state.page); parts.push(state.page);
if (state.part) { if (state.part) {
parts.push(state.part); parts.push(encodeValue(state.part));
if (state.span) { if (state.span) {
parts.push(encodeValue(state.span)); parts.push(encodeValue(state.span));
} }