Skip to content

ext/standard: Preserve explicit URL port zero - #328

Closed
iliaal wants to merge 1 commit into
PHP-8.4from
fix/aph-7rk9
Closed

iliaal wants to merge 1 commit into
PHP-8.4from
fix/aph-7rk9

Conversation

@iliaal

@iliaal iliaal commented Sep 23, 2026 •

Copy link
Copy Markdown
Owner

URL rewriting currently drops :0 from links and form actions.

Using the parser's port-presence flag preserves an explicit zero without adding a port to URLs that omit one.

@iliaal
iliaal changed the base branch from master to PHP-8.4 September 24, 2026 13:06
Use the URL parser's port-presence flag when reconstructing rewritten URLs.
Keep explicit port zero on links and form actions without adding a port to
URLs that omitted it.
@iliaal

iliaal commented Oct 19, 2026

Copy link
Copy Markdown
Owner Author

Promoted to php#24440: php#24440

@iliaal iliaal closed this Oct 19, 2026
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