redmica / redmine_ip_filter

3 stars 3 forks source link

Fix that the before action check_remote_ip may be disabled in development mode #14

Closed vividtone closed 4 years ago

vividtone commented 4 years ago

When a Redmine instance is running in development mode, the IP filtering feature stops working if you update the code of the plugin.

Steps to reproduce:

  1. Configure redmine_ip_filter to reject your IP address
  2. Access to the Redmine instance from an unpermitted IP address. The plugin rejects your address
  3. Update lib/application_controller_patch.rb
  4. Reload your browser. The IP filtering feature stops working and you can access the Redmine even though the IP address is not allowed
takenory commented 4 years ago

Thank you for reporting and offering suggestions for improvement. I will be merging.