Restler 5.0.15
This v5 patch release includes the latest compatibility fixes contributed by @richardeaxon, plus a small hardening follow-up on top of the merged PRs.
Changes
- Support
HTTP_X_FORWARDED_PROTOwhen generating Swagger/resource base paths behind HTTPS load balancers. - Avoid PHP warnings when cached rate-limit state is missing or not an array.
- Avoid PHP warnings when a route entry has no
urlbefore resource documentation filtering. - Sanitize forwarded proto handling to only accept
httporhttps, including comma-separated proxy header values.
Validation
php -l src/Resources.phpphp -l src/Filter/RateLimit.phpcomposer validate --strict --no-check-publish- forwarded-proto rewrite probe
Thanks again to @richardeaxon for continuing to improve v5 compatibility for users who are not ready to move to v6 yet.