Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect Apache HttpClient #23

Merged
merged 2 commits into from
Jul 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [1.1.4]

- Detect `Apache-HttpClient/5.1.4 (Java/1.8.0_144)` as bots

## [1.1.3]

- Improve radio.net detection for android devices
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
pod_ident (1.1.3)
pod_ident (1.1.4)

GEM
remote: https://rubygems.org/
Expand Down
8 changes: 8 additions & 0 deletions lib/detection_rules_bots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,14 @@
test:
userAgents:
- userAgent: AnchorImport/1.0
- app: Apache HTTPClient
match:
regex: "^Apache\\-HttpClient"
platform: bot
test:
userAgents:
- userAgent: Apache-HttpClient/5.1.4 (Java/1.8.0_144)
- userAgent: Apache-HttpClient/5.1.4 (Java/1.8.0_91)
- app: Apple Podcasts (Watch)
match:
regex: "^atc/|\\(null\\) watchOS/"
Expand Down
2 changes: 1 addition & 1 deletion lib/pod_ident/detection_rules_bots.rb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/pod_ident/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module PodIdent
VERSION = '1.1.3'
VERSION = '1.1.4'
end
2 changes: 1 addition & 1 deletion spec/detection_rules_bots.rb

Large diffs are not rendered by default.

Loading