Bug with very long useragent
-
Several times a day, I get that php error in my php log file:
[07-Nov-2016 20:02:44 UTC] PHP Warning: fnmatch(): Filename exceeds the maximum allowed length of 260 characters in D:\[….]\wp-content\plugins\wordfence\lib\wfUtils.php on line 1105
I found that, when I get that error line, I have a robot with a very long invalid useragent (sample below)
The error message is not the good one I think as there is no issue with any filename, but with a too long useragent string.
UserAgent Sample:
(Yes, that part [;+Microsoft+Outlook+15.0.4867] is duplicated multiple times!!)Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+10.0;+WOW64;+Trident/7.0;+.NET4.0C;+.NET4.0E;+.NET+CLR+2.0.50727;+.NET+CLR+3.0.30729;+.NET+CLR+3.5.30729;+Tablet+PC+2.0;+MDDCJS;+Microsoft+Outlook+15.0.4867;+Microsoft+Outlook+15.0.4867;+Microsoft+Outlook+15.0.4867;+Microsoft+Outlook+15.0.4867;+Microsoft+Outlook+15.0.4867;+Microsoft+Outlook+15.0.4867;+Microsoft+Outlook+15.0.4867;+Microsoft+Outlook+15.0.4867;+Microsoft+Outlook+15.0.4867;+Microsoft+Outlook+15.0.4867;+Microsoft+Outlook+15.0.4867;+Microsoft+Outlook+15.0.4867;+Microsoft+Outlook+15.0.4867;+Microsoft+Outlook+15.0.4867;+Microsoft+Outlook+15.0.4867;+Microsoft+Outlook+15.0.4867;+Microsoft+Outlook+15.0.4867;+Microsoft+Outlook+15.0.4867;+ms-office;+MSOffice+15)
- The topic ‘Bug with very long useragent’ is closed to new replies.