salesforce / secure-filters

Anti-XSS Security Filters for EJS and More
BSD 3-Clause "New" or "Revised" License
139 stars 39 forks source link

Use encodeURIComponent rather than Buffer to uri-encode #10

Closed stash closed 10 years ago

stash commented 10 years ago

Part of porting secure-filters to work client-side. This PR replaces the use of node's Buffer class with the portable encodeURIComponent() function.

stash commented 10 years ago

Closing; will open another branch.