diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2013-03-21 22:38:49 +0100 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2013-03-21 22:38:49 +0100 |
commit | 4fc1b9a0ca2cb19d3e6f1fbdaa9470bf2a95a499 (patch) | |
tree | 5ec4445373187a79263239e352ac8432ab4f01bc /web/lib/routing.inc.php | |
parent | 6db0e7c25c11f767f65eff0ff4f6c3163e9754b4 (diff) | |
download | aur-4fc1b9a0ca2cb19d3e6f1fbdaa9470bf2a95a499.tar.gz aur-4fc1b9a0ca2cb19d3e6f1fbdaa9470bf2a95a499.tar.xz |
Return 404 error page if invalid package ID is used
We already display the 404 error page if someone tries to access an
invalid package via virtual URLs ("/packages/nonexistent"). Add the same
check to "web/html/packages.php" to make sure the same error is shown if
a user requests package details of a nonexistent package ID via legacy
URLs ("/packages.php?ID=-1").
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/lib/routing.inc.php')
0 files changed, 0 insertions, 0 deletions