From 87eed652dad7329cd42129a3fd29f9f7a3563c09 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Thu, 23 Nov 2017 15:31:29 +0100 Subject: Fix parsing of RAW output params --- src/dabOutput/dabOutputRaw.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/dabOutput/dabOutputRaw.cpp b/src/dabOutput/dabOutputRaw.cpp index 4e57835..d7c191c 100644 --- a/src/dabOutput/dabOutputRaw.cpp +++ b/src/dabOutput/dabOutputRaw.cpp @@ -109,8 +109,7 @@ static std::map tokeniseURIParam(const std::string& ur const size_t ix_val = ix_eq + 1; const std::string key = uri.substr(ix_key, ix_eq - ix_key); - - ix = uri.find('&', ix); + ix = uri.find('&', ix_eq); const size_t len_value = (ix == std::string::npos) ? std::string::npos : ix - ix_val; -- cgit v1.2.3