Skip to content

Commit

Permalink
Merge pull request #4497 from twesterhever/temp-improve-has-google-redir
Browse files Browse the repository at this point in the history
[Enhancement] Improve detection of Google redirection URLs
  • Loading branch information
vstakhov committed Jun 22, 2023
2 parents 41fb574 + 472537f commit 73616c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rules/regexp/headers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -912,8 +912,8 @@ reconf['HAS_GUC_PROXY_URI'] = {
}

reconf['HAS_GOOGLE_REDIR'] = {
re = '/\\.google\\.com\\/url\\?/{url}i',
description = 'Has google.com/url redirection',
re = '/\\.google\\.([a-z]{2,3}(|\\.[a-z]{2,3})|info|jobs)\\/url\\?/{url}i',
description = 'Has google.com/url or alike Google redirection URL',
score = 1.0,
group = 'url'
}
Expand Down

0 comments on commit 73616c4

Please sign in to comment.