You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously the space character was exclusively encoded to '+'. This is
wrong, as the URL Standard [0] specifies that the default is '%20'.
Another function has been introduced as well, which replicates the old
behavior and converts spaces to '+'.
Notice that this breaks the default behavior and could lead to bugs.
[0]: https://url.spec.whatwg.org/#string-percent-encode-after-encodingFixes: servo#927Fixes: servo#888
Signed-off-by: Gabriel Goller <[email protected]>
Previously the space character was exclusively encoded to '+'. This is
wrong, as the URL Standard [0] specifies that the default is '%20'.
Another function has been introduced as well, which replicates the old
behavior and converts spaces to '+'.
Notice that this breaks the default behavior and could lead to bugs.
[0]: https://url.spec.whatwg.org/#string-percent-encode-after-encodingFixes: servo#927Fixes: servo#888
Signed-off-by: Gabriel Goller <[email protected]>
Hello! I think it would be nice to be able to enable/disable replacing "%20" with "+" in ByteSerialize struct.
This parameter and its usage described here https://url.spec.whatwg.org/#string-percent-encode-after-encoding
The text was updated successfully, but these errors were encountered: