logo
首页技术栈工具库讨论
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.
由 
wangzuo2021-02-09 收录
--
推荐
不推荐
更多信息
RUBYGEMS
gem install sanitize-url
查看
标签
根据用户添加的标签生成
暂无标签