Fixed XSS, reported by alexander@klink.name

This commit is contained in:
root 2008-09-27 16:11:02 +00:00
parent 9df4c24204
commit 8f992c32a0

View file

@ -30,9 +30,7 @@
<p><input type="submit" name="process" value="<?=_("Analyse")?>"></p>
</form>
<? } else {
echo "<pre>";
print_r(openssl_x509_parse(openssl_x509_read($_POST['csr'])));
echo "</pre>";
echo "<pre>".htmlspecialchars(print_r(openssl_x509_parse(openssl_x509_read($_POST['csr'])),true))."</pre>";
}
showfooter();
?>