Securing $misc->href
authorJehan-Guillaume (ioguix) de Rorthais <ioguix@free.fr>
Fri, 16 Dec 2011 23:25:10 +0000 (00:25 +0100)
committerJehan-Guillaume (ioguix) de Rorthais <ioguix@free.fr>
Fri, 16 Dec 2011 23:25:10 +0000 (00:25 +0100)
commit9b73161b710e6493d58f384fd0a46681da5f2aae
tree0b6eb30e696bea41dba3145c879c4c98d3f0f7bf
parent6e0e9b9a57334e76142517956f9a7b863852599d
Securing $misc->href

See http://php.net/manual/en/function.urlencode.php
This is only used in href parameter of A tag and should be escaped
properly.
classes/Misc.php