Skip to content

Commit

Permalink
Fix Url query without values
Browse files Browse the repository at this point in the history
fixes #12883
  • Loading branch information
Crunsher committed Oct 14, 2016
1 parent a80334b commit de783c7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/remote/url.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,11 @@ bool Url::ParseQuery(const String& query)
String key = token.SubStr(0, pHelper);
String value = Empty;

<<<<<<< HEAD
if (pHelper != String::NPos && pHelper != token.GetLength() - 1)
=======
if (pHelper != token.NPos && pHelper != token.GetLength() - 1)
>>>>>>> Fix Url query without values
value = token.SubStr(pHelper+1);

if (!ValidateToken(value, ACQUERY))
Expand Down

0 comments on commit de783c7

Please sign in to comment.