Skip to content

Conversation

GiteaBot
Copy link
Collaborator

@GiteaBot GiteaBot commented Mar 8, 2023

Backport #23355

Close #17108

This PR uses a trick (removing the ID3 tag) to detect the content again to to see whether the content is text type.

Close go-gitea#17108

This PR uses a trick (removing the ID3 tag) to detect the content again
to to see whether the content is text type.

---------

Co-authored-by: delvh <[email protected]>
Co-authored-by: techknowlogick <[email protected]>
Co-authored-by: Lunny Xiao <[email protected]>
@GiteaBot GiteaBot added this to the 1.18.6 milestone Mar 8, 2023
@lunny
Copy link
Member

lunny commented Mar 8, 2023

CI failure is related @wxiaoguang

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Mar 8, 2023
@wxiaoguang
Copy link
Contributor

I think a import bytes is missing here. The bytes package was added by another backport #23312 / #23358 before.

Maybe we do not need to backport to 1.18?

@techknowlogick techknowlogick deleted the backport-23355-v1.18 branch March 8, 2023 05:32
@lunny lunny removed this from the 1.18.6 milestone Mar 8, 2023
@go-gitea go-gitea locked and limited conversation to collaborators May 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants