Skip to content

Commit 104bcc9

Browse files
committed
chore: relax the CLI version header length cap to 128
1 parent b515933 commit 104bcc9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/webapp/app/routes/api.v1.deployments.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export async function action({ request, params }: ActionFunctionArgs) {
7878
}
7979

8080
// Client-controlled and persisted, so cap what we accept
81-
const CLI_VERSION_MAX_LENGTH = 64;
81+
const CLI_VERSION_MAX_LENGTH = 128;
8282

8383
function parseCliVersionHeader(request: Request): string | undefined {
8484
const value = request.headers.get("x-trigger-cli-version");

0 commit comments

Comments
 (0)