Skip to content

Conversation

@zeripath
Copy link
Contributor

There is a bug with the remote message parsing in #10373 which leads to empty lines in remote messages being mishandled.

This PR fixes this.

@zeripath
Copy link
Contributor Author

@mshgh this should fix new line issue

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Mar 19, 2020
@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Mar 20, 2020
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Mar 20, 2020
@lafriks lafriks merged commit b3f4f81 into go-gitea:master Mar 20, 2020
@lafriks
Copy link
Member

lafriks commented Mar 20, 2020

Please send backport

zeripath added a commit to zeripath/gitea that referenced this pull request Mar 20, 2020
@zeripath zeripath deleted the fix-again-10322 branch March 20, 2020 18:43
@lafriks lafriks added the backport/done All backports for this PR have been created label Mar 20, 2020
lunny added a commit that referenced this pull request Mar 21, 2020
Co-authored-by: Lunny Xiao <[email protected]>
Co-authored-by: John Olheiser <[email protected]>
Co-authored-by: Lauris BH <[email protected]>
@zeripath zeripath changed the title account for empty lines in receive-hook message Account for empty lines in receive-hook message Apr 1, 2020
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

backport/done All backports for this PR have been created lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants