Skip to content

Fixes for the "Check" method including the option to add user agent exceptopms

Compare
Choose a tag to compare
@marknotton marknotton released this 20 May 11:58
· 14 commits to master since this release
d5302d0

Added

  • Issue 7 - You can add bespoke user agents to a configs file which will allow the "Check" method to pass. This will help in circumstances where bots using uncommon agent strings were failing for one reason or the other.

Fixed

  • Issue 6 - Empty user agents now return false.
  • In some cases where the user agent version was 0 but the user agent name was corrent, the "check" method would return false. Also, when the version was 0 but the user agent name was incorrect the "check" method would returns true. This mixmatch of rules is now working as expected.

Updated

  • Composer dependency versions