-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Routing] Add matched and default parameters to redirect responses #23440
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
[Routing] Add matched and default parameters to redirect responses #23440
Conversation
deps=high failure will be fixed when 3.4 will be merged into master |
} else { | ||
$code .= sprintf(" return array('_route' => '%s');\n", $name); | ||
$code = substr_replace($code, 'return', $retOffset + 12, 6); |
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.
this $retOffset is hard to understand. please add a comment what this line does
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.
thanks, addressed
855206b
to
e39b404
Compare
e39b404
to
4c1fdd4
Compare
Thank you @artursvonda @Tobion |
…ct responses (artursvonda, Tobion) This PR was merged into the 3.4 branch. Discussion ---------- [Routing] Add matched and default parameters to redirect responses | Q | A | | --- | --- | | Branch? | master | | Bug fix? | no | | New feature? | yes | | BC breaks? | no | | Deprecations? | no | | Tests pass? | yes | | Fixed tickets | #18012, #19037 | | License | MIT | | Doc PR | | Finished #18012 and #19037 Commits ------- 4c1fdd4 [Routing] also add matched params for redirect due to trailing slash dc3f7a9 [Routing] Add matched and default parameters to redirect responses
This PR was merged into the 3.2 branch. Discussion ---------- [FrameworkBundle] Fix tests | Q | A | ------------- | --- | Branch? | 3.2 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Related to the changes introduced in #23440. Commits ------- 2e0c6bc [FrameworkBundle] Fix tests
Finished #18012 and #19037