diff --git a/include/jsoncons/uri.hpp b/include/jsoncons/uri.hpp index 61a71f3de..0b1936157 100644 --- a/include/jsoncons/uri.hpp +++ b/include/jsoncons/uri.hpp @@ -680,7 +680,7 @@ namespace jsoncons { break; case '#': path = std::make_pair(start,i); - query = std::make_pair(start,start); + query = std::make_pair(i,i); state = parse_state::expect_fragment; start = i+1; break;