sanitize-url

sanitize-url

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.

Rubygem sanitize-url

Total Downloads
12100
Releases
4
Current Version
0.1.4
Released
2010-03-21 05:00:00 UTC
First Release
2010-02-25 06:00:00 UTC
Depends on following gems
Depending Gems
1

Github jarrett/sanitize-url

Watchers
7
Forks
1
Development activity
Inactive
Last commit
2013-03-07 18:50:37 UTC
First commit
Top contributors
Contributors
1
Issues

Resources

There are no resources yet, be the first to submit one!

Comments

There are no comments yet, be the first to write one!

Post a comment

Markdown supported
or
×

In order to continue, you must be signed in using your Github account.

If you're signing in using this account for the first time Github will ask for your permission to give access to your public user data to the Ruby Toolbox.

Although the Github Authorization page does not mention it, the request includes read-only access to your verified email address (user:email OAuth scope). This is neccessary so there's a way to notify you about comments, information about your accepted project edits and the like. You can review your notification settings on your account page once you're signed in.