Add checks for accessibility of queried file names

This commit is contained in:
jrenslin authored and Stefan Rohde-Enslin committed 2019-09-01 20:46:55 +02:00
1 parent 1f766c7eca
commit 417db62419
4 files changed
+74 -123

No files matched your search

+1 -2
View File
@@ -23,10 +23,9 @@
echo "
<div>
<p>The file has been uploaded: <b>" . basename( $_FILES['uploaded']['name']) . "</b>.</p>
<hr>
<hr />
<h3>How to proceed?</h3>
<ul class='actionList'>
<li><a href='index2.php?fnam=" . basename( $_FILES['uploaded']['name']) . "'>Create XML (iso8859)</a></li>
<li><a href='index4.php?fnam=" . basename( $_FILES['uploaded']['name']) . "'>Create XML (utf-8)</a></li>
<li><a href='index3.php?fnam=" . basename( $_FILES['uploaded']['name']) . "'>Check validity for museum-digital import</a></li>
</ul>