Skip to content

Commit

Permalink
COUNTER_Robots_list.json: Remove anchors from okhttp
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
alanorth committed Jul 20, 2020
1 parent d2ab7d7 commit 6265215
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions COUNTER_Robots_list.json
Original file line number Diff line number Diff line change
Expand Up @@ -815,8 +815,8 @@
"last_changed": "2020-07-02"
},
{
"pattern": "^okhttp$",
"last_changed": "2018-02-15",
"pattern": "okhttp",
"last_changed": "2020-02-25",
"description": "okhttp is a Java HTTP client library.",
"url": "http://square.github.io/okhttp/"
},
Expand Down

0 comments on commit 6265215

Please sign in to comment.