Skip to content

Conversation

@deguif
Copy link
Contributor

@deguif deguif commented Feb 12, 2014

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? yes
Tests pass? yes
License MIT

Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't this be getCurrentRequest()?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not sure with that but it seems that base path and some other properties from HttpFoundation/Request are set to null on sub request. This is why I use getMasterRequest()

Copy link
Member

Choose a reason for hiding this comment

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

@deguif using the master request instead of the current request is a bahvior change

@fabpot
Copy link
Member

fabpot commented Feb 28, 2014

closing in favor of #10354

@fabpot fabpot closed this Feb 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants