Skip to content

commits need an id

Compare
Choose a tag to compare
@dlangille dlangille released this 28 Sep 12:30
· 18 commits to main since this release

www/commit.php: if you don't supply an id, 404

The logs are rife with this:

2600:1f18:7d7a:2701:ff49:a0be:6b0:80f - - [28/Sep/2024:12:23:50 +0000] "GET /commit.php?category=graphics HTTP/1.1" 503 108 "-" "W3C_Validator/1.3 libwww-perl/6.68"
2600:1f18:7d7a:2701:670d:2776:40b6:3010 - - [28/Sep/2024:12:23:51 +0000] "GET /commit.php?category=devel HTTP/1.1" 503 108 "-" "W3C_Validator/1.3 libwww-perl/6.68"
2600:1f18:7d7a:2701:670d:2776:40b6:3010 - - [28/Sep/2024:12:24:04 +0000] "GET /commit.php?category=net-mgmt HTTP/1.1" 503 108 "-" "W3C_Validator/1.3 libwww-perl/6.68"
2600:1f18:7d7a:2701:f0c:8e5c:cfcd:d862 - - [28/Sep/2024:12:24:48 +0000] "GET /commit.php?category=mail HTTP/1.1" 200 4158 "-" "W3C_Validator/1.3 libwww-perl/6.68"
2600:1f18:7d7a:2701:ff49:a0be:6b0:80f - - [28/Sep/2024:12:25:44 +0000] "GET /commit.php?files=yes HTTP/1.1" 200 4157 "-" "W3C_Validator/1.3 libwww-perl/6.68"

the 503 codes are rate limiting responses.

One of the problems: that's an invalid URL. So let's make it a proper 404.