aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorzeripath2021-06-25 19:14:49 +0100
committerGitHub2021-06-25 14:14:49 -0400
commit1a1ce9b7216ab80e94987270da8fc2def57237c0 (patch)
tree88d76ef409871b5a9eab4e0ec7e3caa5caa02d85 /tools
parent06f483d0c4d11f32faae60a2a6c77b164f7e88e6 (diff)
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 <art27@cantab.net> Co-authored-by: 6543 <6543@obermui.de>
Diffstat (limited to 'tools')
-rw-r--r--tools/fuzz.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/fuzz.go b/tools/fuzz.go
index 4b5b72d1d..b48ae0add 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",