Discord hooks can't be delivered since today #10081

Closed
opened 2025-11-02 08:57:45 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @crackedmind on GitHub (Jan 10, 2023).

Description

With empty icon url discord answer this

{"avatar_url": ["Scheme "" is not supported. Scheme must be one of ('http', 'https')."]}

Maybe set this field to favicon if icon url is empty? Manual update all hooks it's not i want to do.

Gitea Version

1.17.3

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

gitea.service

Database

SQLite

Originally created by @crackedmind on GitHub (Jan 10, 2023). ### Description With empty icon url discord answer this `{"avatar_url": ["Scheme "" is not supported. Scheme must be one of ('http', 'https')."]}` Maybe set this field to favicon if icon url is empty? Manual update all hooks it's not i want to do. ### Gitea Version 1.17.3 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? gitea.service ### Database SQLite
GiteaMirror added the type/bug label 2025-11-02 08:57:45 -06:00
Author
Owner

@jolheiser commented on GitHub (Jan 10, 2023):

Interesting, not sure if this is new on the Discord API side or what.
I will look at implementing a fix, considering we have that field marked as optional.

@jolheiser commented on GitHub (Jan 10, 2023): Interesting, not sure if this is new on the Discord API side or what. I will look at implementing a fix, considering we have that field marked as optional.
Author
Owner

@jolheiser commented on GitHub (Jan 10, 2023):

This fix should land in 1.18.1 when we release it. 🙂

@jolheiser commented on GitHub (Jan 10, 2023): This fix should land in `1.18.1` when we release it. 🙂
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#10081