Skip to content

Fix #69948: path/domain are not sanitized in setcookie #3179

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 1 commit into from

Conversation

cmb69
Copy link
Member

@cmb69 cmb69 commented Mar 10, 2018

For improved security, characters not allowed for name and value should
also be forbidden for path and domain.

For improved security, characters not allowed for name and value should
also be forbidden for path and domain.
@nikic
Copy link
Member

nikic commented Mar 11, 2018

Unless you want to classify this as a security fix, I'd prefer not to land this in release branches.

@cmb69
Copy link
Member Author

cmb69 commented Mar 11, 2018

No, not really a security fix, and considering the BC break, targeting master is fine for me.

@cmb69 cmb69 changed the base branch from PHP-7.1 to master March 11, 2018 15:20
@cmb69
Copy link
Member Author

cmb69 commented Mar 17, 2018

Any objections to merge this into master?

@php-pulls
Copy link

Comment on behalf of cmb at php.net:

Applied via 5cb825d.

@php-pulls php-pulls closed this Mar 24, 2018
@cmb69 cmb69 deleted the bug-69948 branch March 25, 2018 12:11
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.

3 participants