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

COUNTER_Robots_list.json: Remove anchors from okhttp #33

Merged
merged 1 commit into from
Jul 22, 2020

Conversation

alanorth
Copy link
Contributor

The okhttp library now uses version strings in its user agent so we should not anchor the string with ^ and $. For example, I have seen both of these recently:

okhttp/3.11.0
okhttp/3.10.0

We could add a /\d to match the version string, but I think that the "okhttp" is unique enough by itself to not be confused with a real human user agent.

See #9

alanorth added a commit to ilri/DSpace that referenced this pull request Apr 30, 2020
Import some of the spider agent patterns that I had submitted to
the COUNTER-Robots project a few months ago that are still pending
merges:
  - atmire/COUNTER-Robots#33
  - atmire/COUNTER-Robots#34
alanorth added a commit to ilri/DSpace that referenced this pull request Apr 30, 2020
Import some of the spider agent patterns that I had submitted to
the COUNTER-Robots project a few months ago that are still pending
merges:
  - atmire/COUNTER-Robots#33
  - atmire/COUNTER-Robots#34
The okhttp library now uses version strings in its user agent so we
should not anchor the string with ^ and $. For example, I have seen
both of these recently:

    okhttp/3.11.0
    okhttp/3.10.0

We could add a "/\d" to match the version string, but I think that
the "okhttp" is unique enough by itself to not be confused with a
real human user agent.
@alanorth
Copy link
Contributor Author

Rebased against latest mаster branch.

alanorth added a commit to ilri/DSpace that referenced this pull request Jul 20, 2020
These are waiting to be merged into the COUNTER-Robots project:

  - New bots: https://github.com/atmire/COUNTER-Robots/pulls
  - Escape literal dots: atmire/COUNTER-Robots#35
  - Remove okhttp anchors: atmire/COUNTER-Robots#33
alanorth added a commit to ilri/DSpace that referenced this pull request Jul 20, 2020
These are waiting to be merged into the COUNTER-Robots project:

  - New bots: https://github.com/atmire/COUNTER-Robots/pulls
  - Escape literal dots: atmire/COUNTER-Robots#35
  - Remove okhttp anchors: atmire/COUNTER-Robots#33
@davidatmire davidatmire merged commit 3d230fa into atmire:master Jul 22, 2020
@alanorth alanorth deleted the fix-okhttp branch July 22, 2020 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants