RubyGems Navigation menu

href_sanitizer 0.1.2

Drop-in Rails engine that patches link_to to block dangerous protocols (javascript:, data:, vbscript:) and provides a URL validator to prevent SSRF via private/local IP resolution.

Gemfile:
=

install:
=

Versions:

  1. 0.1.2 April 15, 2026 (8 KB)
  2. 0.1.1 April 15, 2026 (8 KB)
  3. 0.1.0 April 15, 2026 (8 KB)

Runtime Dependencies (3):

addressable ~> 2.8
rails >= 7.0

Owners:

Pushed by:

Authors:

  • mfo

SHA 256 checksum:

=

Total downloads 288

For this version 104

Version Released:

License:

MIT

Required Ruby Version: >= 3.1

Links: