view mod_pubsub_forgejo/webhook-examples/pull_request_rejected/headers @ 6519:01d8bfbfc435

mod_pubsub_serverinfo: Fix check for local domain The module was checking whether a host exists, but this may be misleading if our host is loaded before the host that is being checked. This change makes it check the config. This will provide a false positive in the rare case that the host is defined but not activated/enabled. But we don't have an API currently for "is this host configured and enabled?"
author Matthew Wild <mwild1@gmail.com>
date Tue, 21 Apr 2026 19:54:19 +0100
parents 131b8bfbefb4
children
line wrap: on
line source

Content-Type: application/json
X-Forgejo-Delivery: 55de0e6c-593b-41d1-b208-ea00efe818c6
X-Forgejo-Event: pull_request_rejected
X-Forgejo-Event-Type: pull_request_review_rejected
X-Forgejo-Signature: 52c66875ee76c8aba327c8bad7122e109f0b24ddeb0c291f57e071637dc60ccc
X-GitHub-Delivery: 55de0e6c-593b-41d1-b208-ea00efe818c6
X-GitHub-Event: pull_request_rejected
X-GitHub-Event-Type: pull_request_review_rejected
X-Gitea-Delivery: 55de0e6c-593b-41d1-b208-ea00efe818c6
X-Gitea-Event: pull_request_rejected
X-Gitea-Event-Type: pull_request_review_rejected
X-Gitea-Signature: 52c66875ee76c8aba327c8bad7122e109f0b24ddeb0c291f57e071637dc60ccc
X-Gogs-Delivery: 55de0e6c-593b-41d1-b208-ea00efe818c6
X-Gogs-Event: pull_request_rejected
X-Gogs-Event-Type: pull_request_review_rejected
X-Gogs-Signature: 52c66875ee76c8aba327c8bad7122e109f0b24ddeb0c291f57e071637dc60ccc
X-Hub-Signature: sha1=ccb5a848dc0447d8a84b10308d5cc94d6a8dbad1
X-Hub-Signature-256: sha256=52c66875ee76c8aba327c8bad7122e109f0b24ddeb0c291f57e071637dc60ccc