lib/rack/contrib/access.rb in rack-contrib-1.0.0 vs lib/rack/contrib/access.rb in rack-contrib-1.0.1
- old
+ new
@@ -68,10 +68,10 @@
end
nil
end
def forbidden!
- [403, { 'Content-Type' => 'text/html', 'Content-Length' => '0' }, '']
+ [403, { 'Content-Type' => 'text/html', 'Content-Length' => '0' }, []]
end
def ip_authorized?(ipmasks)
return true if ipmasks.nil?