mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-31 03:18:24 +00:00 
			
		
		
		
	Case-insensitive NuGet symbol file GUID (#21409)
NuGet symbol file lookup returned 404 on Visual Studio 2019 due to case-sensitive api router. The api router should accept case-insensitive GUID. Co-authored-by: techknowlogick <techknowlogick@gitea.io> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
		
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							0e57ff7eee
						
					
				
				
					commit
					c41b30760b
				
			| @@ -196,7 +196,7 @@ func Routes(ctx gocontext.Context) *web.Route { | ||||
| 					r.Put("/symbolpackage", nuget.UploadSymbolPackage) | ||||
| 					r.Delete("/{id}/{version}", nuget.DeletePackage) | ||||
| 				}, reqPackageAccess(perm.AccessModeWrite)) | ||||
| 				r.Get("/symbols/{filename}/{guid:[0-9a-f]{32}}FFFFFFFF/{filename2}", nuget.DownloadSymbolFile) | ||||
| 				r.Get("/symbols/{filename}/{guid:[0-9a-fA-F]{32}[fF]{8}}/{filename2}", nuget.DownloadSymbolFile) | ||||
| 			}, reqPackageAccess(perm.AccessModeRead)) | ||||
| 		}) | ||||
| 		r.Group("/npm", func() { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user