From 1a1ce9b7216ab80e94987270da8fc2def57237c0 Mon Sep 17 00:00:00 2001 From: zeripath Date: Fri, 25 Jun 2021 19:14:49 +0100 Subject: [PATCH] Fuzzer finds an NPE due to incorrect URLPrefix (#16249) The Fuzzer is running on a non-repo urlprefix which is incorrect for RenderRaw Signed-off-by: Andrew Thornton Co-authored-by: 6543 <6543@obermui.de> --- tools/fuzz.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/fuzz.go b/tools/fuzz.go index 4b5b72d1d0..b48ae0add9 100644 --- a/tools/fuzz.go +++ b/tools/fuzz.go @@ -23,7 +23,7 @@ import ( var ( renderContext = markup.RenderContext{ - URLPrefix: "https://example.com", + URLPrefix: "https://example.com/go-gitea/gitea", Metas: map[string]string{ "user": "go-gitea", "repo": "gitea",