33
33
redirector_pattern m'^http.*?/redirect\.php\?.*(?<=[?&])goto=(.*?)(?:$|[&\#])'i
34
34
redirector_pattern m'^https?:/*(?:[^/]+\.)?emf\d\.com/r\.cfm.*?&r=(.*)'i
36
# ExpressionEngine redirector
37
# see http://www.pmachine.com/forums/viewthread/29561/
38
# e.g. http://www.someEEBasedSite.com/index.php?URL=http://www.NastyPR0nSite.com
39
# e.g. http://www.pmachine.com/ee/knowledgeblog/?URL=http://www.google.com
40
redirector_pattern m'/(?:index.php)?\?.*(?<=[?&])URL=(.*?)(?:$|[&\#])'i
44
# http://www.google.com/url?sa=U&start=4&q=http://urlofspammer
45
# -> http://urlofspammer
47
# http://www.google.com/url?q=http://urlofspammer/space&q=here
48
# -> http://urlofspammer/space%20here
49
# Redirector gets http://urlofspammer/space
50
# http://www.google.com/url?q=http://urlof&q=spammer does not work
51
redirector_pattern m'^http:/*(?:\w+\.)?google(?:\.\w{2,3}){1,2}/url\?.*?(?<=[?&])q=(.*?)(?:$|[&\#])'i
54
# http://www.google.com/search?q=site:bluevallet.com
55
# -> links to http://www.bluevallet.com/
56
redirector_pattern m'^http:/*(?:\w+\.)?google(?:\.\w{2,3}){1,2}/search\?.*?(?<=[?&])q=[^&]*?(?<=%20|..[=+\s])site:(.*?)(?:$|%20|[\s+&\#])'i
58
# Google search for pages that contain the site name
59
# http://www.google.com/search?q="bluevallet.com"
60
# http://www.google.com/search?q=%22bluevallet.com%22
61
# -> links to search page that probably has http://bluevallet.com
63
redirector_pattern m'^http:/*(?:\w+\.)?google(?:\.\w{2,3}){1,2}/search\?.*?(?<=[?&])q=[^&]*?(?<=%20|..[=+\s])(?:"|%22)(.*?)(?:$|%22|["\s+&\#])'i
66
# http://translate.google.com/translate?u=www.domain.tld&langpair=en%7Cen&hl=en
67
# -> http://www.domain.tld inside a frame
68
redirector_pattern m'^http:/*(?:\w+\.)?google(?:\.\w{2,3}){1,2}/translate\?.*?(?<=[?&])u=(.*?)(?:$|[&\#])'i
36
71
uri NUMERIC_HTTP_ADDR /^https?\:\/\/\d{7}/is
37
72
describe NUMERIC_HTTP_ADDR Uses a numeric IP address in URL