Skip to content

Fix URI jcpan tests#693

Merged
fglock merged 2 commits intomasterfrom
fix/jcpan-uri
May 9, 2026
Merged

Fix URI jcpan tests#693
fglock merged 2 commits intomasterfrom
fix/jcpan-uri

Conversation

@fglock
Copy link
Copy Markdown
Owner

@fglock fglock commented May 8, 2026

Summary

  • fix Encode FB_QUIET source consumption and byte-string literal handling needed by URI IRI conversion
  • support CORE::GLOBAL::gethostbyname overrides and regex \Q/\E pass-through warnings in character classes
  • fix cwd canonicalization, Storable scalar hook round trips, and cached AUTOLOAD method-chain lifetime

Tests

  • make
  • timeout 600 ./jcpan -t URI

fglock and others added 2 commits May 8, 2026 23:19
Fix several Perl compatibility gaps exercised by URI:

- consume Encode FB_QUIET sources after successful encode/decode
- allow CORE::GLOBAL::gethostbyname overrides
- preserve byte-string escape literals under use utf8
- warn and pass through \Q/\E inside regex character classes
- canonicalize chdir cwd paths
- load Storable hook classes before thaw and preserve scalar hook ref levels
- keep cached method-call mortals mark-scoped for chained AUTOLOAD dispatch

Generated with [Codex](https://openai.com/codex)

Co-Authored-By: Codex <codex@openai.com>
Respect unicode_strings when applying case operations to byte strings, while keeping byte semantics for ordinary byte strings used by URI.

Handle source \Q...\E in regex character classes as quotemeta, while preserving Perl warnings for interpolated \Q/\E inside character classes.

Generated with [Codex](https://openai.com/codex)

Co-Authored-By: Codex <codex@openai.com>
@fglock fglock merged commit d7916b0 into master May 9, 2026
2 checks passed
@fglock fglock deleted the fix/jcpan-uri branch May 9, 2026 07:24
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.

1 participant