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.

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 校验和:

2fbc735dfbc2ca8f6f111ac045e848b974a0de6767dde8e1202406be6a3eaf8a

下载总量 218,318

这个版本 208,303

许可:

需要的 Ruby 版本:

链接: