(form-decode-str encoded & [encoding])
Decode the supplied www-form-urlencoded string using the specified encoding,
or UTF-8 by default.
Source
(defn form-decode-str
"Decode the supplied www-form-urlencoded string using the specified encoding,
or UTF-8 by default."
[^String encoded & [encoding]]
(try
(URLDecoder/decode encoded (or encoding "UTF-8"))
(catch Exception _ nil)))