1
0
Fork 0
forked from forgejo/forgejo

Fix incorrect redirection in new issue using references (#26440)

fix #26427
related https://github.com/go-gitea/gitea/pull/25258

---

Before:

![gitea](ed8d3a17-1f63-42f2-a698-3b684e70dc91)

--- 

After:

![After](b8e1338f-c520-4abc-b0df-b812c021ac7e)
This commit is contained in:
CaiCandong 2023-08-11 04:04:08 +08:00 committed by GitHub
parent 918d0f033d
commit 7a69d71733
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,7 +3,7 @@
{{.locale.Tr "repo.issues.context.reference_issue"}}
</div>
<div class="content" style="text-align:left">
<form class="ui form" action="{{printf "%s/issues/new" .Repository.Link}}" method="post">
<form class="ui form form-fetch-action" action="{{printf "%s/issues/new" .Repository.Link}}" method="post">
{{.CsrfTokenHtml}}
<div class="ui segment content">
<div class="field">