• Resolved Maxaud

    (@maxaud)


    I have user’s with emails that have apostrophes in them.

    When that user logs in the apostrophe gets escaped and then it doesn’t pass validation.

    On line 103 of swpl_engine.php add stripslashes() function to fix this.

    $user = get_user_by('email', stripslashes( $email ) );

    Apostrophes in email addresses are valid I only found this out recently.

    https://wordpress.org/plugins/smart-wp-login/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Nishant Kumar

    (@nishant_kumar)

    Hello Maxaud, I am glad that you took your time to point it. Emails with apostrophe are rare but exists, that’s true. I’ll definitely modify the code to support this. Thanks.

    Plugin Author Nishant Kumar

    (@nishant_kumar)

    Hello Maxaud, I have fixed the plugin in 1.0.2. Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Emails with apostrophe don't work’ is closed to new replies.