You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This can have security implications as all headers of the request (including Authorization-Header) are dumped in the exception. If this exception is logged or stored somewhere it can leak sensitive information or enable third parties access to private information.
Proposal: only add the requested method and path to the exception message
The text was updated successfully, but these errors were encountered:
thanks for reporting this issue. you are right, there is the risk of leaking sensitive information into logs.
matching can happen on other things than the path and method. i think we should adjust the message a bit to not lead people to only look at the path and be confused.
If the
ChainRouter
does not find a match it throws a exception in which the request object is dumped as a stringRouting/src/ChainRouter.php
Line 177 in d1e3ba5
This can have security implications as all headers of the request (including Authorization-Header) are dumped in the exception. If this exception is logged or stored somewhere it can leak sensitive information or enable third parties access to private information.
Proposal: only add the requested method and path to the exception message
The text was updated successfully, but these errors were encountered: