Support application/x-www-form-urlencoded
ben3000 opened this issue · 2 comments
ben3000 commented
Web browsers use the plus (+) character to encode spaces when sending forms using application/x-www-form-urlencoded (see https://html.spec.whatwg.org/#implementing-the-server-side-processing-for-a-form), and PHP's rawurlencode and rawurldecode don't handle this.
I've successfully patched Url and QueryParameterBag to make the encoding type configurable like PHP's http_build_query.
spatie-bot commented
Dear contributor,
because this issue seems to be inactive for quite some time now, I've automatically closed it. If you feel this issue deserves some attention from my human colleagues feel free to reopen it.