Skip to content

fix(scripts): correctly resolve internal absolute root site URLs to root index.html in check_links.py - #708

Closed
yappermoar-boop wants to merge 1 commit into
Universal-Commerce-Protocol:mainfrom
yappermoar-boop:fix-check-links-absolute-root-url-resolution
Closed

fix(scripts): correctly resolve internal absolute root site URLs to root index.html in check_links.py#708
yappermoar-boop wants to merge 1 commit into
Universal-Commerce-Protocol:mainfrom
yappermoar-boop:fix-check-links-absolute-root-url-resolution

Conversation

@yappermoar-boop

Copy link
Copy Markdown

Updated check_links.py to correctly recognize internal absolute root site URLs (e.g. https://ucp.dev or https://ucp.dev/#anchor) and resolve them to ROOT_DIR/index.html instead of falling back to file_path. Also handles unslashed site URL matches.

@google-cla

google-cla Bot commented Aug 11, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@damaz91 damaz91 added bug Something isn't working devops status:under-review labels Aug 11, 2026
@damaz91

damaz91 commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

@yappermoar-boop can you please sign the CLA so we can accept your contribution? Thank you for this PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants