Multilingual sites using path prefixing can have multiple webhooks generated for the same site

Created on 26 August 2020, almost 4 years ago
Updated 26 February 2023, over 1 year ago

Problem/Motivation

If a site has multiple languages, and the detection mechanism is setup for path prefixing, then it is possible for multiple webhooks to be registered in content hub which represent a single site. This is bad, since interests are tracked against webhooks.

Steps to reproduce

In a multilingual site with path prefixing enabled, go to the contenthub registration form and register the site. Then, visit the form again, but in a different language via changing the path prefix, and click "Update Public URL". The submission succeeds. Navigate to Subscription Manager and verify that there are now two webhooks for the same site.

Proposed resolution

Disable path processing on the acquia_contenthub.webhook route.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States lpeabody

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024