erbbysam / webRTCCopy

A simple file sharing application using webRTC-data.io
251 stars 45 forks source link

sanitize function improvements in /js/script.js #11

Closed erbbysam closed 10 years ago

erbbysam commented 10 years ago

Need to investigate improving this further as this is used to prevent XSS attacks client side.

see https://github.com/erbbysam/webRTCCopy/commit/93b9cb0263b7f887320694806b2cbc1c8d7e01f7

erbbysam commented 10 years ago

https://github.com/erbbysam/webRTCCopy/commit/067b287fecd2582edfc3ddb77fea9a2360b227da