You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that gitea doesn't properly validate the webhook config. I can create a new webhook via the API, without an actual "target URL". The UI validates correctly. The API does not. Notice the missing URL bellow:
And here you can see I'm editing hook with ID 14 (visible in the URL bar), but the target URL is empty:
Description
Hi folks,
It seems that gitea doesn't properly validate the webhook config. I can create a new webhook via the API, without an actual "target URL". The UI validates correctly. The API does not. Notice the missing URL bellow:
And here you can see I'm editing hook with ID 14 (visible in the URL bar), but the target URL is empty:
Using this body:
The struct is defined as:
Gitea Version
v1.24.0-rc0
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
Linux
How are you running Gitea?
I'm running gitea using the docker image. The following compose config was used:
Database
None
The text was updated successfully, but these errors were encountered: