Fixed #22267 -- Fixed unquote/quote in smart_urlquote

docstring with example input/output would be really helpful