-
Notifications
You must be signed in to change notification settings - Fork 68
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
esc_html is not safe to use (exception loop) #418
Comments
Confirming, is the fatal error before the stack trace |
After removing #410 seems like an issue on its own but the stack trace got messed up because of the exception loop reported here. |
This is fixed in 1.4.2, now live on .org |
Not sure which wordpress version introduced this behavior but I'm using wordpress 6.2 and
esc_html()
callswp_check_invalid_utf8()
which callsget_option()
that ends up making awp_cache_get()
call.Not only does this bring the whole site down but it also ends up obfuscating whatever the real issue is.
You should be able to reproduce this with bad redis credentials/server down/whatever.
The text was updated successfully, but these errors were encountered: