I read this tutorial https://ktor.io/advanced/utilities.html. This states that parseUrlEncodedParameters(...) is used to parse the form-url encoded data from the request body, but then I looked at the function source, the comment said Parse URL query parameters. Shouldn't be used for urlencoded forms because of "+" character. I assume this function is only ment to be used on the actual URL parameter, but not on the body.
I also found a function parseQueryString(...) which produces the correct result on the body.
Is this just an oversight in the docs, or am I missing something?
I read this tutorial https://ktor.io/advanced/utilities.html. This states that
parseUrlEncodedParameters(...)
is used to parse the form-url encoded data from the request body, but then I looked at the function source, the comment saidParse URL query parameters. Shouldn't be used for urlencoded forms because of "+" character.
I assume this function is only ment to be used on the actual URL parameter, but not on the body. I also found a functionparseQueryString(...)
which produces the correct result on the body. Is this just an oversight in the docs, or am I missing something?