Browse Source

Merge pull request #4497 from twesterhever/temp-improve-has-google-redir

[Enhancement] Improve detection of Google redirection URLs
tags/3.6
Vsevolod Stakhov 11 months ago
parent
commit
73616c4191
No account linked to committer's email address
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      rules/regexp/headers.lua

+ 2
- 2
rules/regexp/headers.lua View File

@@ -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'
}

Loading…
Cancel
Save