FrontPage  Index  Search  Changes  Login

Hiki Issue Tracking System - Ticket-110 Diff

  • Added parts are displayed like this.
  • Deleted parts are displayed like this.

! 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.

#figured partial

class Hikilet < WEBrick::HTTPServlet::AbstractServlet
  class DummyCGI
    def remote_addr
      nil
    end
  end
end

----
!! Changelog
{{its_edit_ticket_form}}