0.2.3 permalink Arrow_down_16x16

url-encode

ring.util.codec

  • (url-encode unencoded & [encoding])
Returns the form-url-encoded ersion of the given string, using either a
specified encoding or UTF-8 by default.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source ring/util/codec.clj:7 top

(defn url-encode
  "Returns the form-url-encoded ersion of the given string, using either a
  specified encoding or UTF-8 by default."
  [unencoded & [encoding]]
  (URLEncoder/encode unencoded (or encoding "UTF-8")))
Vars in ring.util.codec/url-encode: defn or
Used in 0 other vars

Comments top

No comments for url-encode. Log in to add a comment.