You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Seed redirect probe and cache Vary key should use the custom User-Agent header when one is set #2316
enginepackages/audit-engine, crawler, page-classifierenhancementNew feature or requestin-progressclaimed by a lane; see ops/state/claims.tsvsize: Mhamsterwheel
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)
enginepackages/audit-engine, crawler, page-classifierenhancementNew feature or requestin-progressclaimed by a lane; see ops/state/claims.tsvsize: Mhamsterwheel
Activity
fix(cli): seed redirect probe and cache Vary key use the custom User-…