Skip to content

Emit absolute URLs when rewriting creative resources #915

Description

@ChristianPavilonis

Problem

Creative rewriting currently emits root-relative first-party proxy and click URLs (for example, /first-party/proxy?...). These URLs depend on the document origin and do not work reliably when the creative is rendered or consumed outside that origin context.

Proposal

When rewriting creative HTML/CSS, generate absolute first-party URLs using the configured publisher/base URL for proxy, click, and injected creative-script references where applicable.

Acceptance criteria

  • Rewritten creative resource URLs are absolute URLs.
  • Rewritten click-through URLs are absolute URLs.
  • The configured first-party origin is used consistently.
  • Tests cover HTML and CSS rewriting plus click URLs.
  • Documentation examples reflect absolute rewritten URLs.

Notes

Preserve signed-query behavior and current URL-exclusion rules.

Activity

  1. added theissue type on Jul 15, 2026
  2. changed the issue type fromtoon Oct 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions