Enforce claim permission and bounded full USB enrollment envelopes
Device Core qualification / qualify (push) Successful in 8m31s
Device Core qualification / qualify (push) Successful in 8m31s
This commit is contained in:
@@ -180,7 +180,7 @@ export function createDeviceManagerServer({
|
||||
}
|
||||
const requestId = singleHeader(request.headers["idempotency-key"]);
|
||||
if (!/^[a-f0-9]{32}$/.test(requestId)) throw serviceError("b2_request_id_invalid", 400);
|
||||
const input = await readJsonBody(request, 64 * 1024);
|
||||
const input = await readJsonBody(request, 128 * 1024);
|
||||
const result = await coreClient.b2Infrastructure(context.actor, input, requestId);
|
||||
return sendJson(response, 200, { ok: true, result });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user