Skip to content
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

Esi nonce in php fix #651

Conversation

timotei-litespeed
Copy link
Contributor

When wp_create_nonce is assigned in a JSON into html the rendered nonce string contains <esi>.
The fix changes how wp_verify_nonce works by adding a check for <esi.
If found will replace the tag with the correct nonce value.

@hi-hai
Copy link
Collaborator

hi-hai commented Apr 23, 2024

If the PR is still under discussion, please don't mark it as to be merged but draft.

@timotei-litespeed timotei-litespeed marked this pull request as draft April 24, 2024 02:11
@hi-hai hi-hai force-pushed the v6.3 branch 2 times, most recently from 12255d7 to 14f82ac Compare April 25, 2024 20:12
@hi-hai hi-hai deleted the branch litespeedtech:v6.3 July 24, 2024 21:40
@hi-hai hi-hai closed this Jul 24, 2024
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