WordPress.org

Forums

Cookillian
Error when extracting TLD (2 posts)

  1. donmik
    Member
    Posted 1 year ago #

    Hi,

    I've installed this plugin in a site with a domain like this "word-word.com". When your plugin tries to set the opt_in or opt_out cookie for this site, you extract the tld to get the domain.

    The error happens in file /vendor/pf4wp/lib/Pf4wp/Common/Cookies.php below line 75. Your regular expression matches only "word.com" and not "word-word.com". I believe the problem is in your regular expression.

    Thanks for your great work anyway!

    http://wordpress.org/plugins/cookillian/

  2. myatu
    Member
    Plugin Author

    Posted 1 year ago #

    Thank you for letting me know - I'll get that sorted ASAP.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Cookillian
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.