Commit graph

10 commits

Author SHA1 Message Date
Kijin Sung
b6557622d2 Improve regex for robot detection
- User-Agent에 URL이 들어갈 때는 괄호에 넣거나 +를 붙이도록 되어 있음
- 워드프레스 핑백 공격도 로봇으로 취급
2018-06-14 14:18:27 +09:00
conory
9e2a09f108 웹 브라우저가 아닌 wget, curl, php를 봇으로 취급 2018-06-14 12:57:00 +09:00
conory
ce5a730505 네이버, 다음 등 일부 봇들을 인식하지 못하는 문제 수정 2018-06-14 12:00:30 +09:00
Kijin Sung
976fa799f3 Add more edge cases and tests, always default to Mozilla/X.X 2016-06-26 17:25:59 +09:00
Kijin Sung
2086c73295 Change detection order of Opera/Konq/Chrome/Safari 2016-06-26 17:07:05 +09:00
Kijin Sung
38b3db1238 Rename OS X to macOS (official name change since Sierra) 2016-06-26 15:41:07 +09:00
Kijin Sung
c9c4d7cda1 Improve filename encoding for miscellaneous old browsers 2016-06-25 21:37:35 +09:00
Kijin Sung
c3fe8d265b Move RFC5987 encoding function to UA class 2016-06-25 21:22:32 +09:00
Kijin Sung
8fe8c9203e Improve browser detection
- Distinguish iOS from Mac OS X
- Better detection of Android default browser and webview
- Detect Chrome and Firefox on iOS
- Detect common search robots
2016-06-25 20:59:14 +09:00
Kijin Sung
f1441613a2 Add UA class for mobile device, tablet, and robot detection 2016-03-19 23:28:27 +09:00