RubyGems Navigation menu

sanitize-url 0.1.4

This gem provides a module called SanitizeUrl, which you can mix-in anywhere you like. It provides a single method: sanitize_url, which accepts a URL and returns one with JavaScript removed. It also prepends the http:// scheme if no valid scheme is found.

Versions:

  1. 0.1.4 - March 21, 2010 (10 KB)
  2. 0.1.3 - February 25, 2010 (10 KB)
  3. 0.1.2 - February 25, 2010 (10 KB)
  4. 0.1.1 - February 25, 2010 (10 KB)

Development Dependencies:

Authors:

  • jarrett

Owners:

6148631c6a332d77f1f6cb5e6b382f29

Sha 256 checksum:

2fbc735dfbc2ca8f6f111ac045e848b974a0de6767dde8e1202406be6a3eaf8a

Total downloads 15,503

For this version 11,130

Required Ruby Version: None

Licenses:

N/A

Gemfile:
= Copy to clipboard Copied!

install:
= Copy to clipboard Copied!

Links: