Skip to content

1.9.0 breaks gogs web hooks #7692

Closed
Closed
@UziTech

Description

@UziTech
  • Gitea version (or commit ref): 1.9.0
  • Git version: 2.22.0.windows.1
  • Operating system: Windows
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

v1.9.0 changes the default web hook to use application/json so any existing Gogs web hook which was setup to receive application/x-www-form-urlencoded data will break because there is no place to change it in a Gogs web hook.

This is more of an FYI for anyone looking for a fix.

I fixed it by creating a Gitea web hook with the POST Content Type set to application/x-www-form-urlencoded

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedtype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions