Skip to content

Conversation

gabrieldosscarvalho
Copy link

This pull request improves the robustness of the getUriMask method in TraceMiddleware by making the check for the uri_mask configuration option more explicit and reliable.

Configuration handling:

  • Updated the getUriMask method in src/Middleware/TraceMiddleware.php to explicitly check for the existence of the uri_mask key in the configuration array and ensure it is an array before returning it; otherwise, it returns an empty array.
@gabrieldosscarvalho gabrieldosscarvalho self-assigned this Oct 6, 2025
@gabrieldosscarvalho gabrieldosscarvalho merged commit 1304c99 into main Oct 6, 2025
@gabrieldosscarvalho gabrieldosscarvalho deleted the fix/get-uri-mask-if-not-exists branch October 6, 2025 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants