php-http / message

HTTP Message related tools
http://php-http.org
MIT License
1.29k stars 41 forks source link

Add support for adjusting binary detection regex in FullHttpMessageFormatter #142

Closed ostrolucky closed 3 years ago

ostrolucky commented 3 years ago
Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Related tickets
Documentation
License MIT

Regrettably, in our applications, php serialize() is often used instead of JSON as a serialization format used over wire. Instead of changing default regex for everyone (which could be a security risk in case target endpoint is untrusted), this allows to inject custom regex.

Checklist

dbu commented 3 years ago

https://github.com/php-http/message/releases/tag/1.12.0