#
Sanitization
Sanitizing is a process to check and remove harmful data from user input. It prevents XSS (Cross Site Scripting) attacks.
Here are 94 public repositories matching this topic...
8
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
Dec 31, 2021 - Go
Schema-Inspector is a simple JavaScript object sanitization and validation module.
-
Updated
Jan 14, 2022 - JavaScript
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
Oct 29, 2021 - JavaScript
andreafioraldi
commented
May 20, 2020
SiteDiff makes it easy to see differences between two versions of a website.
-
Updated
Jun 12, 2021 - HTML
Framework agnostic validation library for PHP
-
Updated
Mar 20, 2021 - PHP
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
Oct 16, 2021 - Python
-
Updated
Jan 20, 2022 - Go
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
Jan 21, 2022 - TypeScript
Validate, sanitize and transform values with proper TypeScript types and zero dependencies.
-
Updated
Sep 19, 2021 - TypeScript
Sanitization library for PHP and the Laravel framework.
-
Updated
Sep 2, 2021 - PHP
Purify your html content before marking it safe
-
Updated
May 9, 2021 - JavaScript
Strips boilerplate from Project Gutenberg text files
-
Updated
Jul 28, 2021 - 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.
Crystal library for transforming HTML/XML trees to sanitize HTML from untrusted sources
-
Updated
Mar 10, 2021 - Crystal
-
Updated
Jan 17, 2022 - Go
Crystal shard for filename sanitization
-
Updated
Apr 17, 2021 - Crystal
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
Jan 15, 2022 - PHP
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
May 23, 2021 - PHP
μSBS: Static Binary Sanitization of Bare-metal Embedded Devices
-
Updated
Oct 25, 2021 - Python
A command-line tool that attempts to rectify punctuation and spacing in (generated) text files
-
Updated
Jan 7, 2022 - Python
Clarify types of all inputs
-
Updated
Mar 2, 2017 - PHP
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
- Wikipedia
- Wikipedia
I would like to give this to the people who are new and would like to start contributing to validator.js.
The current version in
isMobilePhone validation, we have less than 195 phone validations i.eIn the code https://github.com/validatorjs/validator.js/blob/master/src/lib/isMobilePhone.js, the validations exist from line 5 to line 119, which means we have probably 119 - 5 countries phone