#2189 Have the web-hook use the signed content and have a content-type header
Merged by pingou. Opened by pingou.
fix_webhook  into  master

Download 2189.patch
no initial comment

+1 on the code, but for the record: this breaks every existing Pagure webhook payload user.

We looked through the current user of web-hooks on pagure.io and per our record, it seems no one of the 7 people using web-hooks are validating the signature.

There may be people using pagure outside of pagure.io that would be impacted, but seeing the absence of bug report on how the web-hook server performs versus its documentation, we feel reasonably confident that they do not.

I will wait the last minute to merge this PR into 2.14.1 in case someone disagrees with it.

For implementors: do note that you can distinguish between the old and new behavior using the Content-Type header.

rebased

Pull-Request has been merged by pingou

Metadata