Fork me on GitHub
#ring
<
2023-10-23
>
Ernesto Garcia10:10:16

Hi all. Why does ring.util.request/body-string just slurp the body, disregarding the char encoding? Can't this cause decoding issues?

weavejester15:10:40

That's likely an oversight. It should decode based on the charset (if one exists).

Ernesto Garcia17:10:10

Should it be fixed?

weavejester17:10:37

Yes. Or deprecated, as it looks like body-string is an old function and may not be relevant in modern code.