ring

2024-02-14T14:00:26.325229Z

(ring.util.codec/url-encode "") returns daniel+10% while it should be daniel%2B10% . + should be encoded to %2B as browsers interpreter + as space. The weird thing is when I’m doing (ring.util.codec/url-decode "daniel%2B10%") it knows to translate %2B to + . Is there a workaround? anybody run into this?

Evan 2024-02-14T14:26:02.934259Z

I think you want form-encode. https://github.com/ring-clojure/ring-codec/issues/12

šŸ‘ 1
2024-02-14T15:05:04.222829Z

thanks šŸ™

šŸ‘ 1