This commit is contained in:
Steven Fackler 2015-12-06 16:53:22 -08:00
parent 19111a30bf
commit 8c7e8c5830

View File

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