-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
[HttpKernel] Allow signing URIs with a custom query string parameter #21842
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Test failures look unrelated. |
*/ | ||
public function __construct($secret) | ||
public function __construct($secret, $parameter = null) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$parameter = '_hash'
, instead of null?
62a834f
to
32301c3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Can you add a note in the component CHANGELOG? |
Thank you @thewilkybarkid. |
…ring parameter (thewilkybarkid) This PR was merged into the 3.3-dev branch. Discussion ---------- [HttpKernel] Allow signing URIs with a custom query string parameter | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | `UriSigner` is currently restricting to using `_hash` as the query string parameter, this makes is customisable. Commits ------- 32301c3 Allow a custom query string parameter
done in ae2722f |
UriSigner
is currently restricting to using_hash
as the query string parameter, this makes is customisable.