Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Do not merge) Try to debug rustc ICE #13832

Closed
wants to merge 6 commits into from
Closed
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Remove some UTF-8 from the net crate

  • Loading branch information
nox committed Oct 19, 2016
commit da8eca88aefd5205ee942e56dd03d967abdfac76
@@ -59,7 +59,7 @@ pub fn decode(url: &Url) -> Result<DecodeData, DecodeError> {

let mut bytes = percent_decode(parts[1].as_bytes()).collect::<Vec<_>>();
if is_base64 {
// FIXME(#2909): Its unclear what to do with non-alphabet characters,
// FIXME(#2909): It's unclear what to do with non-alphabet characters,
// but Acid 3 apparently depends on spaces being ignored.
bytes = bytes.into_iter().filter(|&b| b != ' ' as u8).collect::<Vec<u8>>();
match bytes.from_base64() {
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.