Fixed #22267 -- Fixed unquote/quote in smart_urlquote

if you could break up the tests yo'ure modifying/adding into some shorter lines, that would be nice