From 3b104710d57d14a23f1cf7f3a334a9be5a8e2039 Mon Sep 17 00:00:00 2001 From: Jamie Curnow Date: Wed, 17 Mar 2021 14:53:57 +1000 Subject: [PATCH] Restrict redirect http code --- backend/schema/definitions.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/backend/schema/definitions.json b/backend/schema/definitions.json index f0acf310..9895b87e 100644 --- a/backend/schema/definitions.json +++ b/backend/schema/definitions.json @@ -180,10 +180,11 @@ } }, "http_code": { - "description": "HTTP Status Code", + "description": "Redirect HTTP Status Code", "example": 302, "type": "integer", - "minimum": 0 + "minimum": 300, + "maximum": 308 }, "scheme": { "description": "RFC Protocol",