This commit is contained in:
Steven Fackler 2016-04-05 22:18:14 -07:00
parent e607d44aad
commit 2b0460acb4

View File

@ -132,8 +132,7 @@ fn decode_inner(c: &str, full_url: bool) -> DecodeResult<String> {
}; };
// Only decode some characters if full_url: // Only decode some characters if full_url:
match Vec::<u8>::from_hex(&bytes) match Vec::<u8>::from_hex(&bytes).unwrap()[0] as char {
.unwrap()[0] as char {
// gen-delims: // gen-delims:
':' | ':' |
'/' | '/' |