#
Sanitization
Sanitizing is a process to check and remove harmful data from user input. It prevents XSS (Cross Site Scripting) attacks.
Here are 84 public repositories matching this topic...
7
chenjie4255
commented
Sep 8, 2017
type Item struct {
Bt int `valid:"range(1|100)"`
}
func main() {
t := Item{-1}
ok, err := govalidator.ValidateStruct(t)
fmt.Println(ok, err)
}
output:Bt: Validator range(1|100) doesn't support kind int;
bluemonday: a fast golang HTML sanitizer (inspired by the OWASP Java HTML Sanitizer) to scrub user generated content of XSS
go
html
sanitization
security
whitelist
risk
xss
data-uri
owasp
html-element
scenario
turns
nofollow
bluemonday
-
Updated
Apr 9, 2021 - Go
andreafioraldi
commented
May 20, 2020
Verification, sanitization, and type coercion for environment variables in Node.js
nodejs
javascript
sanitization
dotenv
environment
typescript
environment-variables
env
environment-vars
variables
verifies
typescript-support
parsing-variables
-
Updated
Nov 11, 2020 - JavaScript
Framework agnostic validation library for PHP
-
Updated
Mar 20, 2021 - PHP
SiteDiff makes it easy to see differences between two versions of a website.
-
Updated
Mar 12, 2021 - HTML
Validate and sanitize arrays and objects.
-
Updated
Jan 1, 2019 - PHP
A Python library to sanitize/validate a string such as filenames/file-paths/etc.
-
Updated
Apr 3, 2021 - Python
This is a CakePHP wrapper for the HTML Purifier lib. The plugin includes a trait, a view helper, a behavior and a shell to clean your markup wherever you like, in the view or in the model layer or clean any table and field using the shell.
sanitization
cakephp
cakephp3
cakephp-plugin
cakephp2
purifier
html-purifier
cakephp-wrapper
cakephp4
-
Updated
Jan 24, 2021 - PHP
-
Updated
Apr 12, 2021 - Go
-
Updated
Apr 12, 2021 - TypeScript
Validate, sanitize and transform values with proper TypeScript types and zero dependencies.
-
Updated
Apr 6, 2021 - TypeScript
Sanitization library for PHP and the Laravel framework.
-
Updated
Feb 17, 2021 - PHP
Purify your html content before marking it safe
-
Updated
Mar 31, 2021 - JavaScript
Strips boilerplate from Project Gutenberg text files [Public domain]
-
Updated
Oct 26, 2018 - Python
imranismail
commented
Jul 7, 2019
Parameters should be able to support these declaratively.
I'm thinking along these lines:
params do
requires :name, :string, only: ~w(john mary)
requires :profession, :string, except: ~w(student engineer)
requires :email, :string, matches: ~r/.+@.+/
endThe best place to introduce this is during the schema definition step.
-
Updated
Jan 18, 2021 - Go
Crystal shard for filename sanitization
-
Updated
Feb 5, 2021 - Crystal
BK Sanitizers is a community-developed, free and open source library for sanitizing user data in PHP.
php
sanitization
security
library
composer
backend
back-end
xss
visuals
hacktoberfest
sanitizer
user-input
xss-filter
sanitize
sanitizers
sponsor
sanitize-input
bk-sanitizers
composer-autoload
-
Updated
Apr 10, 2021 - PHP
Simple PHP sanitization class used to verify and clean values to assure they are valid and secure
php
sanitization
security
library
php7
php-library
filter
php5
filtering
sanitizer
xss-filter
sanitisation
sanitize
psr-12
php-sanitizer
php-sanitizer-array
php-sanitize
php-sanitization
-
Updated
Apr 4, 2021 - PHP
Clarify types of all inputs
-
Updated
Mar 2, 2017 - PHP
Crystal library for transforming HTML/XML trees to sanitize HTML from untrusted sources
-
Updated
Mar 10, 2021 - Crystal
ProcessWire module that extends FileValidatorModule for validating and sanitizing SVG files
-
Updated
Sep 26, 2020 - PHP
Safely extract and validate Vapor models from requests.
-
Updated
Dec 28, 2017 - Swift
A command-line tool that attempts to rectify punctuation and spacing in (generated) text files
-
Updated
Jul 25, 2018 - Python
-
Updated
Mar 11, 2019 - JavaScript
Javascript/Typescript schema-based validation and sanitation
-
Updated
Mar 1, 2021 - TypeScript
- Wikipedia
- Wikipedia


e.g.
isPassportNumber, etc.