]> source.dussan.org Git - gitea.git/commit
Relax generic package filename restrictions (#30135)
authorwxiaoguang <wxiaoguang@gmail.com>
Wed, 27 Mar 2024 16:55:05 +0000 (00:55 +0800)
committerGitHub <noreply@github.com>
Wed, 27 Mar 2024 16:55:05 +0000 (16:55 +0000)
commit1ad48f781eb0681561b083b49dfeff84ba51f2fe
treeb2b84efa96b7c8dd0dc7c77558078d3f25522b00
parent1551d73d3f95284965675b828e1eeceafa378437
Relax generic package filename restrictions (#30135)

Now, the chars `=:;()[]{}~!@#$%^ &` are possible as well
Fixes #30134

---------

Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
routers/api/packages/generic/generic.go
routers/api/packages/generic/generic_test.go [new file with mode: 0644]
tests/integration/api_packages_generic_test.go