RubyGems Navigation menu

sanitize-url 0.1.1

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.

Gemfile:
= In die Zwischenablage kopieren Kopiert!

installieren:
=

Versionen:

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

Development Abhängigkeiten (1):

Besitzer:

Autoren:

  • jarrett

SHA 256-Prüfsumme:

b4ce3c4e835ab021b432a8924d809a24368b183001611f70940548015bdce60f

Downloads insgesamt 221.389

Für diese Version 3.321

Lizenzen:

k.A.

Erforderliche Ruby-Version: None

Links: