Wrong password saved
-
Hey there,
I have the plugin configured to use “other smtp”. I can’t send emails though due to Invalid Authentication Data, I double checked all the info are corrected.
I investigated trough the code and printed the password value actually used to send emails, and I found it’s not what it should be:My password looks like this:
%d6u_@89I`c7(this is not the real one, don’t worry) but the one that gets saved is basicallyu_@89Ic7(yeah it’s saved encoded, but I decoded it here to let you appreciate what’s happening). What happens is that%d6gets stripped, due the the password input field being sanitized viasanitize_text_fieldwhich:Strips percent-encoded characters
https://developer.wordpress.org/reference/functions/sanitize_text_field/
You must be logged in to reply to this topic.