File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -70,10 +70,10 @@ def _quote_byte(error: UnicodeError) -> Tuple[str, int]:
7070# limitations of the current safe_url_string implementation, but it should also
7171# be escaped as %25 when it is not already being used as part of an escape
7272# character.
73- _USERINFO_SAFEST_CHARS = RFC3986_USERINFO_SAFE_CHARS .translate (None , b":;=" )
74- _PATH_SAFEST_CHARS = _safe_chars .translate (None , b"#[]|" )
73+ _USERINFO_SAFEST_CHARS = RFC3986_USERINFO_SAFE_CHARS .translate (None , delete = b":;=" )
74+ _PATH_SAFEST_CHARS = _safe_chars .translate (None , delete = b"#[]|" )
7575_QUERY_SAFEST_CHARS = _PATH_SAFEST_CHARS
76- _SPECIAL_QUERY_SAFEST_CHARS = _PATH_SAFEST_CHARS .translate (None , b"'" )
76+ _SPECIAL_QUERY_SAFEST_CHARS = _PATH_SAFEST_CHARS .translate (None , delete = b"'" )
7777_FRAGMENT_SAFEST_CHARS = _PATH_SAFEST_CHARS
7878
7979
You can’t perform that action at this time.
0 commit comments