Skip to content

fix(rules): a 3-hop redirect chain is reported as a single redirect, with no hop count or intermediate URLs #1750

Closed

Description

@nc9

Fault redirect-chain-3-hops on the public demo site nutshop.squirrelscan.com (repo squirrelscan/nut-shop): the home page links /_fault/r1, which answers 301 to /_fault/r2, then 301 to /_fault/r3, then 301 to /categories/gift-boxes (200). Run 01M7597F3490HEJF2ZRT072C5Q (report 01M759BAVQHBVMSCR3KH2S2WEH) reports rule links/redirect-chains, checks redirect-pages ("1 page(s) redirect to another URL") and links-to-redirect ("1 link target(s) point to redirecting URLs"), item /_fault/r1 → /categories/gift-boxes (200), linked from /. Neither the number of hops (3) nor the intermediate URLs appear, so a chain of three looks identical to a single redirect and the rule never says "chain".

Acceptance Criteria

  • The finding shows each hop (r1 -> r2 -> r3 -> final) and the hop count.
  • A chain of two or more hops is flagged at a higher severity or in its own check than a single redirect.
  • A test covers a three-hop chain.

Activity

  1. added
    bug
    size: S
    rules
    on Nov 11, 2026
  2. added theissue type on Nov 11, 2026
  3. nc9 commented on Nov 12, 2026

    @nc9
    ContributorAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugrulessize: S

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions