Skip to content

Seed redirect probe and cache Vary key should use the custom User-Agent header when one is set #2316

Description

@nc9

When an audit sets a custom User-Agent header and a crawler user_agent is also configured, page requests send the header but the seed redirect probe and the cache Vary key use the configured user_agent. A WAF that only allows the custom agent then refuses the seed probe with 403, which shrinks the audit to one page.

Acceptance Criteria

  • With -H "user-agent: custom" (any casing), the seed redirect probe sends custom even when [crawler] user_agent is set; tested against a server that 403s any other agent and redirects apex to www, and the audit crawls past the seed
  • No other custom header is sent on the seed redirect probe (test)
  • The cache Vary key uses the agent the page requests actually sent (test)

Activity

  1. added
    enhancement
    size: M
    engine
    on Nov 25, 2026
  2. added theissue type on Nov 25, 2026
  3. added
    in-progress
    on Nov 25, 2026
  4. self-assigned this
    on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

engineenhancementin-progresssize: M

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions