-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Mail templating error when assigning PR #18704
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
Labels
issue/confirmed
Issue has been reviewed and confirmed to be present or accepted to be implemented
type/bug
Milestone
Comments
No custom template is active! |
Bug confirmed. There should be no |
zeripath
added a commit
to zeripath/gitea
that referenced
this issue
Feb 10, 2022
Signed-off-by: Andrew Thornton <[email protected]>
lunny
added a commit
that referenced
this issue
Feb 11, 2022
* Prevent double encoding of branch names in delete branch There is a double encoding issue in branch template whereby the branch name ends up double encoded. Fix #18709 Signed-off-by: Andrew Thornton <[email protected]> * and tag name Signed-off-by: Andrew Thornton <[email protected]> * And fix #18704 Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: Lunny Xiao <[email protected]>
Wait for backport |
zeripath
added a commit
to zeripath/gitea
that referenced
this issue
Feb 12, 2022
) Backport go-gitea#18714 * Prevent double encoding of branch names in delete branch There is a double encoding issue in branch template whereby the branch name ends up double encoded. Fix go-gitea#18709 Signed-off-by: Andrew Thornton <[email protected]> * and tag name Signed-off-by: Andrew Thornton <[email protected]> * And fix go-gitea#18704 Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: Lunny Xiao <[email protected]>
zeripath
added a commit
that referenced
this issue
Feb 12, 2022
…8738) Backport #18714 * Prevent double encoding of branch names in delete branch There is a double encoding issue in branch template whereby the branch name ends up double encoded. Fix #18709 Signed-off-by: Andrew Thornton <[email protected]> * and tag name Signed-off-by: Andrew Thornton <[email protected]> * And fix #18704 Signed-off-by: Andrew Thornton <[email protected]>
Chianina
pushed a commit
to Chianina/gitea
that referenced
this issue
Mar 28, 2022
) * Prevent double encoding of branch names in delete branch There is a double encoding issue in branch template whereby the branch name ends up double encoded. Fix go-gitea#18709 Signed-off-by: Andrew Thornton <[email protected]> * and tag name Signed-off-by: Andrew Thornton <[email protected]> * And fix go-gitea#18704 Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: Lunny Xiao <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
issue/confirmed
Issue has been reviewed and confirmed to be present or accepted to be implemented
type/bug
Gitea Version
1.16.1
Git Version
No response
Operating System
No response
How are you running Gitea?
Plain docker container
Database
PostgreSQL
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Description
When a PR gets assigned to a user (
Enable notifications
), the HTML fails to be generated:https://github.com/go-gitea/gitea/blob/main/templates/mail/issue/assigned.tmpl#L12
The following is the source of the mail which is received:
so it seems to break exactly after the
</head>
.Is there a way to convert the type or should
<.Issue.Index>
return strings?Screenshots
No response
The text was updated successfully, but these errors were encountered: