8000 [Security] Don't send remember cookie for sub request by blanchonvincent · Pull Request #12491 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Security] Don't send remember cookie for sub request #12491

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

Closed
wants to merge 2 commits into from
Closed

[Security] Don't send remember cookie for sub request #12491

wants to merge 2 commits into from

Conversation

blanchonvincent
Copy link
Contributor
Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

Remember cookie shouldn't be sent for sub request

{
$event = $this->getMockBuilder('Symfony\Component\HttpKernel\Event\FilterResponseEvent')
->disableOriginalConstructor()
->getMock();

$event->expects($this->any())->method('getRequest')->will($this->returnValue($request));
$event->expects($this->any())->method('getRequestType')->will($this->returnValue($type));
Copy link
Member

Choose a reason for hiding this comment

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

this is not needed, given it is not called

@stof
Copy link
Member
stof commented Nov 28, 2014

this makes sense. 👍

@fabpot fabpot added the Security label Dec 7, 2014
@fabpot
Copy link
Member
fabpot commented Jan 3, 2015

Thank you @blanchonvincent.

fabpot added a commit that referenced this pull request Jan 3, 2015
…nchonvincent)

This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes #12491).

Discussion
----------

[Security] Don't send remember cookie for sub request

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Remember cookie shouldn't be sent for sub request

Commits
-------

ec38936 adapted previous commit for 2.3
119b091 [Security] Don't send remember cookie for sub request
@fabpot fabpot closed this Jan 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0