Eingabevalidierung #16

Merged
niklas.ortmann merged 36 commits from Beitrag-Eingabevalidierung into Beitrag-bearbeiten 2026-06-01 14:05:29 +02:00
Showing only changes of commit d18f33a87a - Show all commits
+2 -2
View File
@@ -16,12 +16,12 @@ if (isset($_GET["id"]) && !empty($_GET["id"])){
$tags = $article->getTags(); $tags = $article->getTags();
}else{ }else{
echo "Test"; echo "Test";
header("Location: index.php?pfad=404"); header("location: index.php?pfad=404");
exit(); exit();
} }
} catch (Exception $e){ } catch (Exception $e){
$_SESSION["message"] = "internal_error"; $_SESSION["message"] = "internal_error";
header("location: ../../index.php?pfad=showArticle"); header("location: index.php?pfad=showArticle");
exit(); exit();
} }
}else{ }else{