New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

inquisition

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

inquisition

  • 0.3.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

= Inquisition

== Introduction

Inquisition will sanitize HTML as to help avoid cross site scripting attacks! It keeps your strings heresy-free.

== How

Inquisition offers you three methods on Object:

cleanse_attr *attributes, options cleanse_attr_reader *attributes, options cleanse_attr_writer *attributes, options

These methods will wrap your getters and/or setters for an attribute through a HTML5 Sanitizer. This should help to protect against most kinds of cross site scripting attacks.

For example:

cleanse_attr :name, :allow => {:name => /()/}

The above example will clean all values written to or read from the name attribute, but will not remove strong tags.

== Installation

sudo gem install thumblemonks-inquisition

== Copyright

lib/html5lib_sanitize.rb Copyright (c) Jacques Distler

Everything else is Copyright (c) 2009 Alexander Rakoczy. See LICENSE for details.

FAQs

Package last updated on 11 Nov 2009

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc