white_list | A copy of technoweenie's white_list plugin For backwards compatibility only

 by   jemminger Ruby Version: Current License: No License

kandi X-RAY | white_list Summary

kandi X-RAY | white_list Summary

white_list is a Ruby library. white_list has no bugs, it has no vulnerabilities and it has low support. You can download it from GitHub.

This White Listing helper will html encode all tags and strip all attributes that aren’t specifically allowed. It also strips href/src tags with invalid protocols, like javascript: especially. It does its best to counter any tricks that hackers may use, like throwing in unicode/ascii/hex values to get past the javascript: filters. Check out the extensive test suite. You can add or remove tags/attributes if you want to customize it a bit. white_list accepts a block for custom tag escaping. Shown below is the default block that white_list uses if none is given. The block is called for all bad tags, and every text node. node is an instance of HTML::Node (either HTML::Tag or HTML::Text). bad is nil for text nodes inside good tags, or is the tag name of the bad tag.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              white_list has a low active ecosystem.
              It has 0 star(s) with 0 fork(s). There are 2 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              white_list has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of white_list is current.

            kandi-Quality Quality

              white_list has no bugs reported.

            kandi-Security Security

              white_list has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              white_list does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              white_list releases are not available. You will need to build from source code and install.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of white_list
            Get all kandi verified functions for this library.

            white_list Key Features

            No Key Features are available at this moment for white_list.

            white_list Examples and Code Snippets

            No Code Snippets are available at this moment for white_list.

            Community Discussions

            No Community Discussions are available at this moment for white_list.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install white_list

            You can download it from GitHub.
            On a UNIX-like operating system, using your system’s package manager is easiest. However, the packaged Ruby version may not be the newest one. There is also an installer for Windows. Managers help you to switch between multiple Ruby versions on your system. Installers can be used to install a specific or multiple Ruby versions. Please refer ruby-lang.org for more information.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/jemminger/white_list.git

          • CLI

            gh repo clone jemminger/white_list

          • sshUrl

            git@github.com:jemminger/white_list.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link