File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -226,7 +226,7 @@ static int hex_char_digit_to_decimal_char(int hex)
226
226
}
227
227
else
228
228
{
229
- throw uri_exception (" Invalid hexidecimal digit" );
229
+ throw uri_exception (" Invalid hexadecimal digit" );
230
230
}
231
231
return decimal;
232
232
}
@@ -240,12 +240,12 @@ utility::string_t uri::decode(const utility::string_t &encoded)
240
240
{
241
241
if (++iter == encoded.end ())
242
242
{
243
- throw uri_exception (" Invalid URI string, two hexidecimal digits must follow '%'" );
243
+ throw uri_exception (" Invalid URI string, two hexadecimal digits must follow '%'" );
244
244
}
245
245
int decimal_value = hex_char_digit_to_decimal_char (static_cast <int >(*iter)) << 4 ;
246
246
if (++iter == encoded.end ())
247
247
{
248
- throw uri_exception (" Invalid URI string, two hexidecimal digits must follow '%'" );
248
+ throw uri_exception (" Invalid URI string, two hexadecimal digits must follow '%'" );
249
249
}
250
250
decimal_value += hex_char_digit_to_decimal_char (static_cast <int >(*iter));
251
251
You can’t perform that action at this time.
0 commit comments