Closed (fixed)
Project:
Short URL for Domain
Version:
1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
13 Apr 2026 at 15:46 UTC
Updated:
27 Apr 2026 at 17:10 UTC
Jump to comment: Most recent
Shorturl #3584485 introduces a visit event system where the middleware collects all X-Shorturl-* response headers generically and dispatches a ShortUrlVisitEvent. A VisitDatabaseSubscriber writes the fields to the database.
This makes DomainAwareVisitMiddleware unnecessary — the base middleware now handles X-Shorturl-Domain-Id automatically. The DomainAwareVisitTracker is still needed for the direct trackVisit() service path.
DomainAwareVisitMiddleware (no longer needed)DomainShorturlServiceProviderX-Shorturl-DomainId to X-Shorturl-Domain-Id (maps to domain_id column via hyphen-to-underscore conversion)ShortUrlVisitMiddlewareStart within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
mably commentedComment #5
mably commented