Percent-escape single quote

This commit is contained in:
Edward Shen 2022-06-02 20:12:07 -07:00
parent 49e1c8ce0c
commit 411854385c
Signed by: edward
GPG key ID: 19182661E818369F

View file

@ -21,7 +21,8 @@ const FRAGMENT_ENCODE_SET: &AsciiSet = &CONTROLS
.add(b'`')
.add(b'+')
.add(b'&') // Interpreted as a GET query
.add(b'#'); // Interpreted as a hyperlink section target
.add(b'#') // Interpreted as a hyperlink section target
.add(b'\'');
type StateData = Data<Arc<RwLock<State>>>;