hygraph / hygraph-utils

1 stars 4 forks source link

escaping special chars #10

Closed Harry-027 closed 2 years ago

Harry-027 commented 2 years ago

Chars "&", "<", ">" are skipped twice at backend for safe encoding before generating the webhook signature. However this doesn't happen during webhook validation via utils. Idea here is to replace such characters in payload with their twice escape representation for correct webhook validation.

flexzuu commented 2 years ago

closed in favor of fixing it in the backend https://github.com/hygraph/autobahn/pull/5563