sanitize-url (0.1.4)

jarrett
2010-03-21T18:28:32Z

Sanitizes untrusted URLs

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.