Packet filenames can be in uppercase hex too

This commit is contained in:
Deon George 2023-11-24 12:18:19 +11:00
parent 0800c48928
commit 9e870858da

View File

@ -119,7 +119,7 @@ Route::middleware(['auth','verified','activeuser'])->group(function () {
Route::match(['get','post'],'link',[UserController::class,'link']); Route::match(['get','post'],'link',[UserController::class,'link']);
Route::post('packet/contents/{o}/{packet}',[HomeController::class,'packet_contents']) Route::post('packet/contents/{o}/{packet}',[HomeController::class,'packet_contents'])
->where('o','[0-9]+') ->where('o','[0-9]+')
->where('packet','[0-9a-z]+'); ->where('packet','[[:xdigit:]]+');
Route::get('permissions',[HomeController::class,'permissions']); Route::get('permissions',[HomeController::class,'permissions']);
Route::match(['get','post'],'user/system/register',[SystemController::class,'register']); Route::match(['get','post'],'user/system/register',[SystemController::class,'register']);