FrontPage  Index  Search  Changes  Login

Ticket-110

Hikilet::DummyCGI#remote_addr is missing

Priority
Normal
Reporter
Status
New
Assigned to
?
Version
0.8.8.1
Milestone
?
Created
2009-12-03

Description

Hiki::Filter::new_page_is_spam? refers @cgi.remote_addr but Hikilet::DummyCGI does not have it. So creating a page, editing a page,,, do not work correctly.

My local fix is to define method 'remote_addr' returns nil.

  1. figured partial

class Hikilet < WEBrick::HTTPServlet::AbstractServlet

 class DummyCGI
   def remote_addr
     nil
   end
 end

end


Changelog

Name:
Comment:
Change Properties
Priority:
Status:
Version:
Milestone:
Assigned to:
Last modified:2009/12/03 14:46:01
Keyword(s):
References: