setup-java/__tests__/distributors
John Oliver 88aa1d8008 Address code review feedback on pagination implementation
- Tighten rel regex with word boundary to prevent false positives
  (e.g., rel="nextsomething" no longer matches).
- Use parsed.origin comparison in validatePaginationUrl to correctly
  handle explicit default ports (e.g., :443 for HTTPS).
- Fix pagination safeguard tests to use same-origin URLs so they
  actually exercise the 1000-page limit instead of being rejected
  by origin validation on the first request.
- Add test for rel="nextsomething" not matching.
- Add test for explicit default port acceptance.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-04 12:39:33 +00:00
..
adopt-installer.test.ts Address code review feedback on pagination implementation 2026-06-04 12:39:33 +00:00
base-installer.test.ts Refactor error handling and improve test logging for installers (#989) 2026-04-13 12:44:45 -05:00
corretto-installer.test.ts Refactor error handling and improve test logging for installers (#989) 2026-04-13 12:44:45 -05:00
dragonwell-installer.test.ts Refactor error handling and improve test logging for installers (#989) 2026-04-13 12:44:45 -05:00
graalvm-installer.test.ts Refactor error handling and improve test logging for installers (#989) 2026-04-13 12:44:45 -05:00
jetbrains-installer.test.ts Move pagination safeguard to non-JetBrains installers 2026-06-03 15:52:24 +00:00
liberica-installer.test.ts Refactor error handling and improve test logging for installers (#989) 2026-04-13 12:44:45 -05:00
liberica-linux-installer.test.ts Refactor error handling and improve test logging for installers (#989) 2026-04-13 12:44:45 -05:00
liberica-windows-installer.test.ts Refactor error handling and improve test logging for installers (#989) 2026-04-13 12:44:45 -05:00
local-installer.test.ts Refactor error handling and improve test logging for installers (#989) 2026-04-13 12:44:45 -05:00
microsoft-installer.test.ts Refactor error handling and improve test logging for installers (#989) 2026-04-13 12:44:45 -05:00
oracle-installer.test.ts Refactor error handling and improve test logging for installers (#989) 2026-04-13 12:44:45 -05:00
sapmachine-installer.test.ts Refactor error handling and improve test logging for installers (#989) 2026-04-13 12:44:45 -05:00
semeru-installer.test.ts Address code review feedback on pagination implementation 2026-06-04 12:39:33 +00:00
temurin-installer.test.ts Address code review feedback on pagination implementation 2026-06-04 12:39:33 +00:00
zulu-installer.test.ts Refactor error handling and improve test logging for installers (#989) 2026-04-13 12:44:45 -05:00
zulu-linux-installer.test.ts Refactor error handling and improve test logging for installers (#989) 2026-04-13 12:44:45 -05:00
zulu-windows-installer.test.ts Refactor error handling and improve test logging for installers (#989) 2026-04-13 12:44:45 -05:00