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 558f977 commit 30325bdCopy full SHA for 30325bd
url/src/parser.rs
@@ -42,7 +42,9 @@ pub const PATH_SEGMENT: &AsciiSet = &PATH.add(b'/').add(b'%');
42
pub const SPECIAL_PATH_SEGMENT: &AsciiSet = &PATH_SEGMENT.add(b'\\');
43
44
/// https://url.spec.whatwg.org/#query-state
45
+/// https://url.spec.whatwg.org/#query-percent-encode-set
46
pub const QUERY: &AsciiSet = &CONTROLS.add(b' ').add(b'"').add(b'#').add(b'<').add(b'>');
47
+/// https://url.spec.whatwg.org/#special-query-percent-encode-set
48
pub const SPECIAL_QUERY: &AsciiSet = &QUERY.add(b'\'');
49
50
pub type ParseResult<T> = Result<T, ParseError>;
0 commit comments