Skip to content

Commit

Permalink
Merge pull request ring-clojure#34 from zolrath/patch-1
Browse files Browse the repository at this point in the history
Fixed typo in url-encode doc-string.
  • Loading branch information
weavejester committed Sep 18, 2011
2 parents bcaef85 + e85f0e5 commit 5b3e6a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ring-core/src/ring/util/codec.clj
Expand Up @@ -5,7 +5,7 @@
org.apache.commons.codec.binary.Base64))

(defn url-encode
"Returns the form-url-encoded ersion of the given string, using either a
"Returns the form-url-encoded version of the given string, using either a
specified encoding or UTF-8 by default."
[unencoded & [encoding]]
(URLEncoder/encode unencoded (or encoding "UTF-8")))
Expand Down

0 comments on commit 5b3e6a8

Please sign in to comment.