I have a problem with downloads, whose names contain brackets:
When I use the "Details" Link in the Downloads Section, it brings me to an error page with the php-nuke logo and a message: "The html tags you attempted to use are not allowed".
I think that's because of the following code in mainfile.php:
Quote:
foreach ($_GET as $secvalue) {
if ((eregi("<[^>]*script*\"?[^>]*>", $secvalue)) ||
(eregi("<[^>]*object*\"?[^>]*>", $secvalue)) ||
(eregi("<[^>]*iframe*\"?[^>]*>", $secvalue)) ||
(eregi("<[^>]*applet*\"?[^>]*>", $secvalue)) ||
(eregi("<[^>]*meta*\"?[^>]*>", $secvalue)) ||
(eregi("<[^>]*style*\"?[^>]*>", $secvalue)) ||
(eregi("<[^>]*form*\"?[^>]*>", $secvalue)) ||
(eregi("\([^>]*\"?[^)]*\)", $secvalue)) ||
(eregi("\"", $secvalue))) {
die ("<center><img src=images/logo.gif><br><br><b>The html tags you attempted
to use are not allowed</b><br><br>[ <a href=\"javascript:history.go(-1)\"><b>Go
Back</b></a> ]");
}
}
Especially the last eregi... part. Can I delete this entry? Is there a another way to fix my problem?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum