RubyGems Navigation menu

sanitize-url 0.1.2

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:
= 複製 已複製

安裝:
=

版本列表:

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

Development 相依性套件 (1):

rspec >= 1.3.0

擁有者:

作者:

  • jarrett

SHA 256 checksum:

b7557f17ef76dd510f29a8ca9e5b5f6c8f6807b4b34e40b2991b2f60d005caa3

總下載次數 219,126

這個版本 3,321

License:

Ruby 版本需求:

相關連結: