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 12526d5 commit 6a6b9daCopy full SHA for 6a6b9da
src/parser.rs
@@ -1311,14 +1311,8 @@ impl<'a> Parser<'a> {
1311
self.log_violation(SyntaxViolation::NullInFragment)
1312
} else {
1313
self.check_url_code_point(c, &input);
1314
- self.serialization.extend(utf8_percent_encode(
1315
- utf8_c,
1316
- // FIXME: tests fail when we use the FRAGMENT set here
1317
- // as defined in the spec as of 2019-07-17,
1318
- // likely because tests are out of date.
1319
- // See https://github.com/servo/rust-url/issues/290
1320
- CONTROLS,
1321
- ));
+ self.serialization
+ .extend(utf8_percent_encode(utf8_c, FRAGMENT));
1322
}
1323
1324
0 commit comments