RubyGems Navigation menu

sanitize-url 0.1.3

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:
= Copier Copié!

installation:
=

Versions:

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

Dépendances de Development (1):

rspec >= 1.3.0

Propriétaires:

Auteurs:

  • jarrett

Total de contrôle SHA 256:

89bdb938ae2b4f61cd9683c3222abeacf82c8c4c96496d5745921097823d1d1b

Total de téléchargements 219 278

Pour cette version 3 387

License:

aucune

Version de Ruby requise: None

Liens: