-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect path to issue template file on windows #21987
Labels
Comments
Looks similar to 21632 |
Likely regression of #21639. Paths in Git are always '/' separated. |
zeripath
added a commit
to zeripath/gitea
that referenced
this issue
Nov 30, 2022
Paths in git are always separated by `/` not `\\` - therefore we should `path` and not `filepath` Fix go-gitea#21987 Signed-off-by: Andrew Thornton <art27@cantab.net>
lunny
added a commit
that referenced
this issue
Dec 1, 2022
Paths in git are always separated by `/` not `\` - therefore we should `path` and not `filepath` Fix #21987 Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: Lauris BH <lauris@nix.lv>
zeripath
added a commit
to zeripath/gitea
that referenced
this issue
Dec 3, 2022
Backport go-gitea#21993 Paths in git are always separated by `/` not `\` - therefore we should `path` and not `filepath` Fix go-gitea#21987 Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: Lauris BH <lauris@nix.lv>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
after choosing template from the list issue body is empty, because template query parameter is wrong
?template=.gitea%5cISSUE_TEMPLATE%5cbug.md
instead of?template=.gitea%2fISSUE_TEMPLATE%2fbug.md
Manual fixing %5c to %2f in url helps
Gitea Version
1.18-rc1
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
Windows
How are you running Gitea?
From official gitea-1.18.0-rc1-windows-4.0-amd64.exe
Database
SQLite
The text was updated successfully, but these errors were encountered: