Repository navigation
Conversation
anurag629
left a comment
There was a problem hiding this comment.
Thanks @srikar-naidu. Lint (develop's 11 warnings), all 2360 tests, the build and the pages pass on top of develop, and the logic is right: in the built app ?tag=react&tag=typescript&%74ag=x&Tag=a&=one&=two&sort=asc says "2 repeated keys: tag, (empty name)", badges all five, and leaves Tag and sort alone.
One thing: the amber never shows up. The build only has border-[var(--amber)] and bg-[var(--amber)], not the /40, /50 and /10 versions, so in both themes the summary and the badges get the default gray border and no tint (computed border rgb(229, 231, 235), transparent background). The issue asks for text as well as color, so use classes that exist, like border-[var(--amber)] with text-[var(--amber)] on the badge, or set the tint with color-mix() in a style.
anurag629
left a comment
There was a problem hiding this comment.
Thanks @srikar-naidu, that fixed it. Lint (develop's 11 warnings), all 2360 tests, the build and the pages pass on top of develop, and in the built app the summary and the badges now come out amber in both themes (border and text #b5700a in light, #ffb547 in dark), with the same five badges and the same summary as before.
What and why
Flags every occurrence of repeated query parameter names in the URL Encoder breakdown and summarizes the repeated keys. Detection uses decoded, case-sensitive names while preserving values, empty values, and their original order. A note explains that repeated parameters may be intentional and that applications can interpret them differently.
Closes #399
How I tested this
npm run lint— passed with 11 existing warningsnpm run test -- --maxWorkers=2— passed (2,360 tests)npm run build— passedAI assistance
AI assisted with implementation and validation.
Type of change
Checklist
npm run lint && npm run test && npm run buildpasses locallylib/and have a test inlib/__tests__/page.tsx, client component,opengraph-image.tsx, and the bug report dropdown are all doneNotes for reviewers
No screenshot needed; the change is covered by tests.