Bug#1125073: ITP: node-braintree-sanitize-url -- URL sanitization to prevent script-scheme injection
Package: wnpp
Severity: wishlist
Owner: Edward Betts <edward@4angle.com>
X-Debbugs-Cc: debian-devel@lists.debian.org
* Package name : node-braintree-sanitize-url
Version : 7.1.1
Upstream Author : Braintree
* URL : https://github.com/braintree/sanitize-url
* License : MIT
Programming Lang: JavaScript
Description : URL sanitization to prevent script-scheme injection
This library sanitizes URL strings so they can be handled safely in contexts
such as link targets and redirects.
.
It inspects input for dangerous schemes such as "javascript:" and normalizes
common obfuscation tricks, including mixed-case spellings, embedded control
characters, and HTML character references. When a URL is considered unsafe, it
returns a neutral value ("about:blank") rather than passing the original
string through.
This library is a dependancy of Home Assistant, the Python smart home platform.
I plan to maintain it as part of the Home Assistant team.
Reply to: