FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

refactor(platform-server): extract parseUrl regex and add comments for URL parsing behavior by alan-agius4 · Pull Request #68973 · angular/angular · GitHub

refactor(platform-server): extract parseUrl regex and add comments for URL parsing behavior - #68973

Closed
alan-agius4 wants to merge 1 commit into
angular:mainfrom
alan-agius4:followup-server-urls
Closed

refactor(platform-server): extract parseUrl regex and add comments for URL parsing behavior#68973
alan-agius4 wants to merge 1 commit into
angular:mainfrom
alan-agius4:followup-server-urls

Conversation

alan-agius4 commented May 28, 2026
edited
Loading

Copy link
Copy Markdown
Contributor

Extracts the regular expression for matching malformed absolute URLs to a module-scoped constant in url.ts.

Additionally, adds comprehensive inline documentation to clarify:

  • The path normalization behavior of LEADING_SLASHES_REGEX which collapses consecutive slashes and backslashes.
  • The rationale for using 'http://localhost' as the fallback base URL for virtual document initialization in server.ts.

…r URL parsing behavior

Extracts the regular expression for matching malformed absolute URLs to a module-scoped constant in url.ts.

Additionally, adds comprehensive inline documentation to clarify:
- The path normalization behavior of LEADING_SLASHES_REGEX which collapses consecutive slashes and backslashes.
- The rationale for using 'http://localhost' as the fallback base URL for virtual document initialization in server.ts.
alan-agius4 requested a review from AndrewKushnir May 28, 2026 07:18
alan-agius4 added action: review The PR is still awaiting reviews from at least one requested reviewer target: patch This PR is targeted for the next patch release labels May 28, 2026
angular-robot Bot added the area: server Issues related to server-side rendering label May 28, 2026
ngbot Bot added this to the Backlog milestone May 28, 2026

Copy link
Copy Markdown
Contributor Author

cartetaker note g3 failure is unrelated.

alan-agius4 added the merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note label May 28, 2026
pkozlowski-opensource pushed a commit that referenced this pull request Jun 1, 2026
pkozlowski-opensource pushed a commit that referenced this pull request Jun 2, 2026

Copy link
Copy Markdown

This pull request has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

angular-automatic-lock-bot Bot locked and limited conversation to collaborators Jun 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: review The PR is still awaiting reviews from at least one requested reviewer area: server Issues related to server-side rendering merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL