certdepot icon indicating copy to clipboard operation
certdepot copied to clipboard

Secure user inputs.

Open gwae opened this issue 12 years ago • 1 comments

Just try to generate a certificate named reboot ;- ) It can lead to serious problems, like the stealing of the certificates of other users, and so much more...

All the inputs must be escaped !

@ https://github.com/dimastopel/certdepot/blob/master/routes.js#L154 @ https://github.com/dimastopel/certdepot/blob/master/routes.js#L167

gwae avatar Nov 10 '12 17:11 gwae

added basic escaping. thanks.

dimastopel avatar Nov 10 '12 19:11 dimastopel