-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[FrameworkBundle] switch to parameter for base url #5983
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
…rable for tests and cli as done for host and scheme in d30943c
@@ -10,6 +10,13 @@ | |||
`MongoDate` instead of `MongoTimestamp`, which also makes it possible to use | |||
TTL collections in MongoDB 2.2+ instead of relying on the `gc()` method. | |||
|
|||
### Routing |
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.
Should be in the CHANGELOG instead.
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.
d30943c added the info to UPGRADE-2.1 so i thought i would do the same thing. there is no 2.2 changelog yet. or do you want me to add this to the 2.1 changelog and it can be part of the next minor version?
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.
It should go into the CHANGELOG of the FrameworkBundle in the 2.2 section.
doc will go here once its merged: http://symfony.com/doc/current/cookbook/console/generating_urls.html |
…stead of master UPGRADE-2.2
ok, moved to the FrameworkBundle changelog |
unfortunately is naming is so wrong in many places of the Request class and the routing. |
@Tobion i saw that, but i chose to be consistent with the method name of RequestContext even if it is a wrong name. |
This PR was merged into the master branch. Commits ------- d0e5ef1 [FrameworkBundle] move change note to changelog of FrameworkBundle instead of master UPGRADE-2.2 e77ecc9 [FrameworkBundle] switch to parameter for base url to make it configurable for tests and cli as done for host and scheme in d30943c Discussion ---------- [FrameworkBundle] switch to parameter for base url This will make it configurable the same way we have it for host and scheme done for 2.1 in d30943c Bug fix: no Feature addition: yes Backwards compatibility break: no Symfony2 tests pass: (no new test breakage) Fixes the following tickets: - Todo: - License of the code: MIT Documentation PR: (none yet. if this is merged, i will happily PR against doc if somebody can point me to the right place) --------------------------------------------------------------------------- by dbu at 2012-11-11T18:44:33Z doc will go here once its merged: http://symfony.com/doc/current/cookbook/console/generating_urls.html --------------------------------------------------------------------------- by dbu at 2012-11-11T20:12:41Z ok, moved to the FrameworkBundle changelog --------------------------------------------------------------------------- by Tobion at 2012-11-11T20:34:28Z unfortunately is naming is so wrong in many places of the Request class and the routing. `base_url` is just an example. It's not an "URL" at all. It's a path only. --------------------------------------------------------------------------- by dbu at 2012-11-12T07:47:55Z @Tobion i saw that, but i chose to be consistent with the method name of RequestContext even if it is a wrong name.
This will make it configurable the same way we have it for host and scheme done for 2.1 in d30943c
Bug fix: no
Feature addition: yes
Backwards compatibility break: no
Symfony2 tests pass: (no new test breakage)
Fixes the following tickets: -
Todo: -
License of the code: MIT
Documentation PR: (none yet. if this is merged, i will happily PR against doc if somebody can point me to the right place)