percent encode '&' and '%'
This commit is contained in:
parent
630f7f803a
commit
5d7629487a
1 changed files with 3 additions and 1 deletions
|
@ -19,7 +19,9 @@ const FRAGMENT_ENCODE_SET: &AsciiSet = &CONTROLS
|
||||||
.add(b'<')
|
.add(b'<')
|
||||||
.add(b'>')
|
.add(b'>')
|
||||||
.add(b'`')
|
.add(b'`')
|
||||||
.add(b'+');
|
.add(b'+')
|
||||||
|
.add(b'&') // Interpreted as a GET query
|
||||||
|
.add(b'#'); // Interpreted as a hyperlink section target
|
||||||
|
|
||||||
type StateData = Data<Arc<RwLock<State>>>;
|
type StateData = Data<Arc<RwLock<State>>>;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue