From 9e870858da8dbe9d18893335c2b95472d8905268 Mon Sep 17 00:00:00 2001 From: Deon George Date: Fri, 24 Nov 2023 12:18:19 +1100 Subject: [PATCH] Packet filenames can be in uppercase hex too --- routes/web.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/web.php b/routes/web.php index 4076d27..b7e3978 100644 --- a/routes/web.php +++ b/routes/web.php @@ -119,7 +119,7 @@ Route::middleware(['auth','verified','activeuser'])->group(function () { Route::match(['get','post'],'link',[UserController::class,'link']); Route::post('packet/contents/{o}/{packet}',[HomeController::class,'packet_contents']) ->where('o','[0-9]+') - ->where('packet','[0-9a-z]+'); + ->where('packet','[[:xdigit:]]+'); Route::get('permissions',[HomeController::class,'permissions']); Route::match(['get','post'],'user/system/register',[SystemController::class,'register']);