juxt / yada

A powerful Clojure web library, full HTTP, full async - see https://juxt.pro/yada/index.html
MIT License
735 stars 97 forks source link

Default to UTF-8 for form decoding #323

Closed danielcompton closed 3 years ago

danielcompton commented 3 years ago

ring-codec 1.1.0 returns a {nil nil} map if you provide a nil character encoding. Previous versions defaulted to UTF-8.

This change ensures that "UTF-8" is provided to form-decode when newer versions of ring-codec are used.

More info: https://github.com/ring-clojure/ring-codec/issues/32.

I've made this as a PR to the 1.2 branch, but it should get forward ported as well.