Skip to content
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

nicolas-grekas
Copy link
Member

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

@nicolas-grekas nicolas-grekas added this to the 3.4 milestone Jul 6, 2017
@nicolas-grekas nicolas-grekas changed the title Bugfix add matched params to redirect [Routing] Add matched and default parameters to redirect responses Jul 6, 2017
@nicolas-grekas
Copy link
Member Author

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);
Copy link
Member

@Tobion Tobion Jul 10, 2017

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

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks, addressed

@nicolas-grekas nicolas-grekas force-pushed the bugfix-add-matched-params-to-redirect branch from 855206b to e39b404 Compare July 10, 2017 16:01
@nicolas-grekas nicolas-grekas force-pushed the bugfix-add-matched-params-to-redirect branch from e39b404 to 4c1fdd4 Compare July 11, 2017 06:35
@nicolas-grekas
Copy link
Member Author

Thank you @artursvonda @Tobion

@nicolas-grekas nicolas-grekas merged commit 4c1fdd4 into symfony:3.4 Jul 11, 2017
nicolas-grekas added a commit that referenced this pull request Jul 11, 2017
…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
@nicolas-grekas nicolas-grekas deleted the bugfix-add-matched-params-to-redirect branch July 11, 2017 08:19
nicolas-grekas added a commit that referenced this pull request Jul 12, 2017
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
This was referenced Oct 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants