mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +09:00 
			
		
		
		
	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>
This commit is contained in:
		| @@ -23,7 +23,7 @@ import ( | |||||||
|  |  | ||||||
| var ( | var ( | ||||||
| 	renderContext = markup.RenderContext{ | 	renderContext = markup.RenderContext{ | ||||||
| 		URLPrefix: "https://example.com", | 		URLPrefix: "https://example.com/go-gitea/gitea", | ||||||
| 		Metas: map[string]string{ | 		Metas: map[string]string{ | ||||||
| 			"user": "go-gitea", | 			"user": "go-gitea", | ||||||
| 			"repo": "gitea", | 			"repo": "gitea", | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user