Remove list.dsbl.org
The dnsbl list at list.dsbl.org is defunct. Also: a Ruby 1.9 compatiblity tweak for Maruku.
This commit is contained in:
parent
f062dfe15a
commit
e33ccad293
|
@ -22,7 +22,7 @@ require 'resolv'
|
|||
|
||||
module DNSBL_Check
|
||||
$dnsbl_passed ||= []
|
||||
DNSBLS = %w{list.dsbl.org bl.spamcop.net sbl-xbl.spamhaus.org}
|
||||
DNSBLS = %w{bl.spamcop.net sbl-xbl.spamhaus.org}
|
||||
|
||||
private
|
||||
# Filter to check if the client is listed. This will be run before all requests.
|
||||
|
|
|
@ -122,7 +122,7 @@ class CharSourceManual
|
|||
|
||||
def consume_whitespace
|
||||
while c = cur_char
|
||||
if (c == 32 || c == ?\t)
|
||||
if (c == ?\s || c == ?\t)
|
||||
# puts "ignoring #{c}"
|
||||
ignore_char
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue