Top "Sanitize" questions

Whitelist-based Ruby HTML and CSS sanitizer.

Catch paste input

I'm looking for a way to sanitize input that I paste into the browser, is this possible to do with …

jquery paste sanitize
Turn a string into a valid filename?

I have a string that I want to use as a filename, so I want to remove all characters that …

python filenames slug sanitize
C# Sanitize File Name

I recently have been moving a bunch of MP3s from various locations into a repository. I had been constructing …

c# validation path sanitize invalid-characters
What's up with these Unicode combining characters and how can we filter them?

กิิิิิิิิิิิิิิิิิิิิ ก้้้้้้้้้้้้้้้้้้้้ ก็็็็็็็็็็็็็็็็็็็็ ก็็็็็็็็็็็็็็็็็็็็ กิิิิิิิิิิิิิิิิิิิิ ก้้้้้้้้้้้้้้้้้้้้ ก็็็็็็็็็็็็็็็็็็็็ กิิิิิิิิิิิิิิิิิิิิ ก้้้้้้้้้้้้้้้้้้้้ กิิิิิิิิิิิิิิิิิิิิ ก้้้้้้้้้้้้้้้้้้้้ ก็็็็็็็็็็็็็็็็็็็็ ก็็็็็็็็็็็็็็็็็็็็ กิิิิิิิิิิิิิิิิิิิิ ก้้้้้้้้้้้้้้้้้้้้ ก็็็็็็็็็็็็็็็็็็็็ กิิิิิิิิิิิิิิิิิิิิ ก้้้้้้้้้้้้้้้้้้้้ These recently showed up in facebook comment sections. How can we sanitize this?

unicode sanitize combining-marks zalgo
How to sanitize sql fragment in Rails

I have to sanitize a part of sql query. I can do something like this: class << ActiveRecord::Base …

sql ruby-on-rails sanitize
PHP Sanitize Data

I am new to the world of coding and PHP hence would like to learn what's the best way to …

php sanitize
Sanitize input in Angular2

I am trying to get third-party (potentially unsafe) html content from my database and insert it into my html document. …

angular typescript sanitize
How to sanitze user input in PHP before mailing?

I have a simple PHP mailer script that takes values from a form submitted via POST and mails them to …

php security email sanitize
Howto sanitize inputs

I am willing to use "OWASP ESAPI for Java" to sanitize users inputs when they submits forms in a Tomcat …

java input sanitize owasp esapi
AngularJS create html/link/anchor from text (escape/unescape html in view)

I have a controller that has an assigned value: $scope.post = 'please visit http://stackoverflow.com quickly'; I have some …

angularjs hyperlink anchor sanitize html-escape-characters