setup-java/__tests__
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
..
cache feat: implement cache-dependency-path option to control caching dependency (#499) 2023-11-22 16:43:14 +01:00
data feat: Add support for .sdkmanrc file in java-version-file parameter (#736) 2025-11-25 13:36:29 -06:00
distributors Address code review feedback on pagination implementation 2026-06-04 12:39:33 +00:00
auth.test.ts Add and configure ESLint and update configuration for Prettier (#458) 2023-03-09 14:49:35 +02:00
cache.test.ts Refactor error handling and improve test logging for installers (#989) 2026-04-13 12:44:45 -05:00
cleanup-java.test.ts Refactor error handling and improve test logging for installers (#989) 2026-04-13 12:44:45 -05:00
gpg.test.ts Add and configure ESLint and update configuration for Prettier (#458) 2023-03-09 14:49:35 +02:00
toolchains.test.ts Fix XML namespaces wrongly using https 2023-06-28 11:24:07 +02:00
util.test.ts Address code review feedback on pagination implementation 2026-06-04 12:39:33 +00:00
verify-java.sh Revert "Revert "Add support for Oracle JDK (#401)" (#421)" (#450) 2023-02-07 16:29:21 +01:00