Skip to content

Commit a0c65a1

Browse files
zeripath6543
authored andcommitted
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 <[email protected]> Co-authored-by: 6543 <[email protected]>
1 parent c7454ea commit a0c65a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/fuzz.go

Lines changed: 1 addition & 1 deletion
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)