From 068d5606e9665f24e9f16bbfaff72a2269758357 Mon Sep 17 00:00:00 2001 From: Marcin Mielnicki <marcin.mielnicki@gmail.com> Date: Sun, 27 Oct 2019 18:38:21 +0100 Subject: [PATCH] Redirect to a static badge instead of returning status code 500 --- core/base-service/redirector.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/base-service/redirector.spec.js b/core/base-service/redirector.spec.js index 79c9a63ef2..6e5085048d 100644 --- a/core/base-service/redirector.spec.js +++ b/core/base-service/redirector.spec.js @@ -94,7 +94,7 @@ describe('Redirector', function() { }) // https://github.com/badges/shields/issues/4013 - it('should temporarily redirect to a badge with message "inaccesible" when cunstructed redirect URL is invalid (contains invalid characters)', async function() { + it('should temporarily redirect to a badge with message "inaccesible" when redirect URL is invalid (contains invalid characters)', async function() { const { statusCode, headers } = await got( `${baseUrl}/very/old/service/hello\nworld.svg`, { -- GitLab