Skip to content

Commit 42d6366

Browse files
committed
Merge pull request microsoft#96 from locutus/patch-2
2 parents 5f75ec9 + 2b7b52f commit 42d6366

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Release/src/uri/uri.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ static int hex_char_digit_to_decimal_char(int hex)
226226
}
227227
else
228228
{
229-
throw uri_exception("Invalid hexidecimal digit");
229+
throw uri_exception("Invalid hexadecimal digit");
230230
}
231231
return decimal;
232232
}
@@ -240,12 +240,12 @@ utility::string_t uri::decode(const utility::string_t &encoded)
240240
{
241241
if(++iter == encoded.end())
242242
{
243-
throw uri_exception("Invalid URI string, two hexidecimal digits must follow '%'");
243+
throw uri_exception("Invalid URI string, two hexadecimal digits must follow '%'");
244244
}
245245
int decimal_value = hex_char_digit_to_decimal_char(static_cast<int>(*iter)) << 4;
246246
if(++iter == encoded.end())
247247
{
248-
throw uri_exception("Invalid URI string, two hexidecimal digits must follow '%'");
248+
throw uri_exception("Invalid URI string, two hexadecimal digits must follow '%'");
249249
}
250250
decimal_value += hex_char_digit_to_decimal_char(static_cast<int>(*iter));
251251

0 commit comments

Comments
 (0)