Updating the signed route middleware to check for relatively signed URLs #32819
Answered
by
BrandonSurowiec
BrandonSurowiec
asked this question in
General
-
Came across this situation today, where I needed to verify a relative signed route and discovered the middleware doesn't have support for this out of the box: Route::get('foo')->middleware('signed:relative'); We're forced to write our own middleware class (not the end of the world) or a middleware check via a Closure in the controller. There was a rejected PR for this very thing 6 months ago: #30336 Would it be considered if resubmitted? |
Beta Was this translation helpful? Give feedback.
Answered by
BrandonSurowiec
Jun 8, 2020
Replies: 1 comment
-
Submitted a PR and it was accepted: #33137 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
BrandonSurowiec
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Submitted a PR and it was accepted: #33137