Support » Plugin: MailPoet Newsletters (Previous) » base64 links are broken on windows server

  • Hello,

    The problem: The custom links get base64 encoded but when the link on the email is clicked, the urlpassed $_REQUEST has some letters changed (at the end of the base64 string).

    Result: This leads to broken links.

    Maybe the problem is in the WJ_Stats class, however I am not 100% sure. When I debugged the $_REQUEST on the _get_clicked_url function the urlpassed had the problem though.
    This happens on a Windows 2008 server, PHP 5.4 and 7.0. No problem on Linux.

    Hacking the models/config.php and setting urlstats_base64 to false solved the problem, but hacking is not a good practise 🙂

    Suggestions: Test the plugin on Windows 2008 server or apply_filters on $defaults variable.

    Thank you in advance.

    Best regards,

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘base64 links are broken on windows server’ is closed to new replies.