You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
KN4CK3R 44f2c27d28
Fix CSV render error (#17406)
closed #17378 

Both errors from #17378 were caused by  #15175.

Problem 1 (error with added file):
`ToUTF8WithFallbackReader` creates a `MultiReader` from a `byte[2048]` and the remaining reader. `CreateReaderAndGuessDelimiter` tries to read 10000 bytes from this reader but only gets 2048 because that's the first reader in the `MultiReader`. Then the `if size < 1e4` thinks the input is at EOF and just returns that.

Problem 2 (error with changed file):
The blob reader gets defer closed. That was fine because the old version reads the whole file into memory. Now with the streaming version the close needs to defer after the method.
3 years ago
..
admin Refactor update checker to use AppState (#17387) 3 years ago
dev Refactor routers directory (#15800) 3 years ago
events Move login related structs and functions to models/login (#17093) 3 years ago
explore Add user status filter to admin user management page (#16770) 3 years ago
feed Add RSS/Atom feed support for user actions (#16002) 3 years ago
org Move login related structs and functions to models/login (#17093) 3 years ago
repo Fix CSV render error (#17406) 3 years ago
user Add groups scope/claim to OIDC/OAuth2 Provider (#17367) 3 years ago
base.go Use a variable but a function for IsProd because of a slight performance increment (#17368) 3 years ago
goget.go Related refactors to ctx.FormX functions (#16567) 3 years ago
home.go Refactor routers directory (#15800) 3 years ago
metrics.go Refactor routers directory (#15800) 3 years ago
nodeinfo.go Add nodeinfo endpoint for federation purposes (#16953) 3 years ago
swagger_json.go Refactor routers directory (#15800) 3 years ago
web.go Use a variable but a function for IsProd because of a slight performance increment (#17368) 3 years ago