Skip to content

Restler 5.0.15

Latest

Choose a tag to compare

@Arul- Arul- released this 29 Jun 08:49

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_PROTO when 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 url before resource documentation filtering.
  • Sanitize forwarded proto handling to only accept http or https, including comma-separated proxy header values.

Validation

  • php -l src/Resources.php
  • php -l src/Filter/RateLimit.php
  • composer 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.