Module
Polyform.Validators.UrlEncoded.Parser
- Package
- purescript-polyform-validators
- Repository
- lambdaterms/purescript-polyform-validators
#Options Source
type Options = { replacePlus :: Boolean }
Browsers serialize space as +
character
which is incorrect according to the RFC 3986
but it is spread behavior accross tested engines.
I've written about this issue extensively: https://github.com/owickstrom/hyper/pull/62
If we want to be able to optionally distinct this +
on the server side we have to convert it to %2b
before
decoding phase (as it is done in all investigated
libraries - please check first post in the above thread).