spatie/url

Support application/x-www-form-urlencoded

ben3000 opened this issue · 2 comments

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.

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.

This sounds like it is related to this #57

You said you have patched it but did not share the code could you please share it @ben3000 ?