Skip to content

Update all W3 links in the resource files to use HTTPS instead of HTTP - #3331

Merged
Travis Plunk (TravisEz13) merged 1 commit into
PowerShell:masterfrom
ChrisUbben:UpdateXMLW3Links
Mar 17, 2017
Merged

Update all W3 links in the resource files to use HTTPS instead of HTTP#3331
Travis Plunk (TravisEz13) merged 1 commit into
PowerShell:masterfrom
ChrisUbben:UpdateXMLW3Links

Conversation

@ChrisUbben

Copy link
Copy Markdown

No description provided.

@SteveL-MSFT

Copy link
Copy Markdown
Member

Is there any test we can add to catch any new HTTP URLs added to the product code?

@TravisEz13 Travis Plunk (TravisEz13) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could add a meta test suite and use a regex to validate we use https: and not http:

DSC Resources have some meta tests (not for something exactly like this):
https://github.com/PowerShell/DscResource.Tests/blob/dev/Meta.Tests.ps1

@ChrisUbben

Copy link
Copy Markdown
Author

I created an issue to add some way to verify if new HTTP links have been added to the product code.
New issue #3347.

@TravisEz13
Travis Plunk (TravisEz13) merged commit b2259f8 into PowerShell:master Mar 17, 2017
Dongbo Wang (daxian-dbw) added a commit that referenced this pull request Jul 27, 2026
This PR essentially reverts #3331, which updated all W3C URIs in the `.resx` files from `http` to `https`.

That change turned out to be wrong. Those W3C URIs are namespace identifiers, not fetchable URLs -- they must be byte‑exact. Changing them to use `https` corrupted them, and thus `ManagedParser` in the localization pipeline can't recognize the schema, which resulted in the `BL1024 "child table to itself"` error.

- This PR makes pure, mechanical 2-line substitution in every `.resx` file: `https://www.w3.orghttp://www.w3.org`.
- The `ClipboardResources.resx` was using Schema version 1.3, and it's changed to version 2.0 as the rest `.resx` files in this PR.
Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj/PowerShell that referenced this pull request Aug 6, 2026
This PR essentially reverts PowerShell#3331, which updated all W3C URIs in the `.resx` files from `http` to `https`.

That change turned out to be wrong. Those W3C URIs are namespace identifiers, not fetchable URLs -- they must be byte‑exact. Changing them to use `https` corrupted them, and thus `ManagedParser` in the localization pipeline can't recognize the schema, which resulted in the `BL1024 "child table to itself"` error.

- This PR makes pure, mechanical 2-line substitution in every `.resx` file: `https://www.w3.orghttp://www.w3.org`.
- The `ClipboardResources.resx` was using Schema version 1.3, and it's changed to version 2.0 as the rest `.resx` files in this PR.
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.

4 participants