Skip to content

Fix GH-9932: Discards further characters for session name. #9940

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

Conversation

devnexen
Copy link
Member

As those are converted, it s better to make aware of the code caller of the naming inadequacy.

As those are converted, it s better to make aware of the code caller
of the naming inadequacy.
@devnexen devnexen force-pushed the session_name_discarded_chars_upd branch from 0b9aa2b to 3dafa5f Compare November 11, 2022 22:37
@devnexen devnexen requested a review from cmb69 November 12, 2022 14:33
@Girgias
Copy link
Member

Girgias commented Nov 15, 2022

Isn't this also an issue in previous versions?

In any case the change makes sense to me.

Copy link
Member

@cmb69 cmb69 left a comment

Choose a reason for hiding this comment

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

Thank you!

Isn't this also an issue in previous versions?

Yes. I think this should target PHP-8.1.

@@ -93,6 +93,8 @@ zend_class_entry *php_session_update_timestamp_iface_entry;
return FAILURE; \
}

#define SESSION_FORBIDDEN_CHARS "=,;.[ \t\r\n\013\014"
Copy link
Member

Choose a reason for hiding this comment

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

Ah, nice! :)

@devnexen devnexen closed this in a4298c1 Nov 15, 2022
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.

3 participants