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)
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
You can’t perform that action at this time.
0 commit comments