Skip to content

Commit 1a1ce9b

Browse files
zeripath6543
andauthoredJun 25, 2021
Fuzzer finds an NPE due to incorrect URLPrefix (go-gitea#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>
1 parent 06f483d commit 1a1ce9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎tools/fuzz.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323

2424
var (
2525
renderContext = markup.RenderContext{
26-
URLPrefix: "https://example.com",
26+
URLPrefix: "https://example.com/go-gitea/gitea",
2727
Metas: map[string]string{
2828
"user": "go-gitea",
2929
"repo": "gitea",

0 commit comments

Comments
 (0)
Please sign in to comment.