We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6043ad commit b20e852Copy full SHA for b20e852
src/parser.rs
@@ -1329,14 +1329,8 @@ impl<'a> Parser<'a> {
1329
self.log_violation(SyntaxViolation::NullInFragment)
1330
} else {
1331
self.check_url_code_point(c, &input);
1332
- self.serialization.extend(utf8_percent_encode(
1333
- utf8_c,
1334
- // FIXME: tests fail when we use the FRAGMENT set here
1335
- // as defined in the spec as of 2019-07-17,
1336
- // likely because tests are out of date.
1337
- // See https://github.com/servo/rust-url/issues/290
1338
- CONTROLS,
1339
- ));
+ self.serialization
+ .extend(utf8_percent_encode(utf8_c, FRAGMENT));
1340
}
1341
1342
0 commit comments