Skip to content

[CODEC-228] Add strict URL decoding option - #450

Open
efegokdemir wants to merge 2 commits into
apache:masterfrom
efegokdemir:efe/codec-228-strict-mode
Open

efegokdemir wants to merge 2 commits into
apache:masterfrom
efegokdemir:efe/codec-228-strict-mode

Conversation

@efegokdemir

Copy link
Copy Markdown
Contributor

Adds decode(String, String, boolean) so callers can reject malformed or unmappable byte sequences with DecoderException. The existing overload remains lenient. Tests cover malformed and valid UTF-8, ISO-8859-1, null input, and unsupported charsets. The default mvn goal passed: 19,857 tests, 0 failures/errors, 3 skipped.

  • Read the contribution guidelines.
  • Read the ASF Generative Tooling Guidance.
  • AI was used: OpenAI Codex (GPT-6) analysed the issue and code, implemented the change and regression test, and ran verification.
  • The default Maven goal completed successfully.
  • Added unit tests for the behavioural change.
  • The description explains the change and why it is needed.
  • The commit has a meaningful subject and body.

Generated-by: OpenAI Codex GPT-6
@garydgregory

Copy link
Copy Markdown
Member

@efegokdemir
Rebase on git master to pick up test fixes needed due to changes in the latest Java 21.

Carry the current provider-availability test updates requested for the JDK 21.0.13 CI failures.

Assisted-By: OpenAI Codex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants