René's URL Explorer Experiment


Title: Fix the TPA in a more reliable way by daxian-dbw · Pull Request #115 · PowerShell/PowerShell-Native · GitHub

Open Graph Title: Fix the TPA in a more reliable way by daxian-dbw · Pull Request #115 · PowerShell/PowerShell-Native

X Title: Fix the TPA in a more reliable way by daxian-dbw · Pull Request #115 · PowerShell/PowerShell-Native

Description: PR Summary Fix #114 Also fix the following PowerShell issues: PowerShell/PowerShell#27907 PowerShell/PowerShell#27982 PowerShell/PowerShell#27199 Replace the hard-coded Trusted Platform Assemblies (TPA) allow-list used by pwrshplugin.dll with a deny-list constructed from the DLLs installed alongside .NET runtime. Motivation The set of trusted platform assemblies differs across supported PowerShell versions, including 7.4, 7.5, and 7.6. Maintaining an explicit allow-list causes the WinRM hosting code to fall out of sync as assemblies are added, removed, or renamed. Comparing TRUSTED_PLATFORM_ASSEMBLIES from pwsh.exe with the DLLs under $PSHOME showed that the TPA list is consistently the set of installed DLLs minus a relatively stable group of native and host binaries. Changes Enumerate *.dll files immediately under coreCLRDirectoryPath. Include each discovered DLL in the TPA list unless it is a known native or host binary. Match deny-list entries case-insensitively. Exclude files beginning with mscordaccore_ to account for architecture- and version-specific filenames. Exclude Microsoft.PowerShell.GraphicalHost.dll, which is not usable in a remoting session. Include other PowerShell managed assemblies in the TPA list. Remove the obsolete .ni.dll probing logic because modern PowerShell distributions no longer include native-image assemblies. Remove outdated comments. Add FindFirstFileA, FindNextFileA, and FindClose to the existing system-call facade so directory enumeration follows the current dependency-injection design. This makes TPA construction resilient to assembly changes across PowerShell and .NET servicing releases while retaining a small, stable deny-list.

Open Graph Description: PR Summary Fix #114 Also fix the following PowerShell issues: PowerShell/PowerShell#27907 PowerShell/PowerShell#27982 PowerShell/PowerShell#27199 Replace the hard-coded Trusted Platform Assemblie...

X Description: PR Summary Fix #114 Also fix the following PowerShell issues: PowerShell/PowerShell#27907 PowerShell/PowerShell#27982 PowerShell/PowerShell#27199 Replace the hard-coded Trusted Platform Assemblie...

Opengraph URL: https://github.com/PowerShell/PowerShell-Native/pull/115

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:e278376f-47c8-2959-13a8-d1a603b1d4ad
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA0AE:3AF7AF:3DA7A:53381:6AFD377D
html-safe-nonce4692fde307cd01d5d9eaf46baee96d5e1ed1484906c36a099508bdd9088e99e0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMEFFOjNBRjdBRjozREE3QTo1MzM4MTo2QUZEMzc3RCIsInZpc2l0b3JfaWQiOiIzMDg2MTYzMzgwOTk0Mzg5ODg2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac513a00d8f42ddb4c6ed683025385b0a9ea83ae84c8e841f5bf789f5d59eec0d0
hovercard-subject-tagpull_request:4529677768
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/PowerShell/PowerShell-Native/pull/115/files
twitter:imagehttps://avatars.githubusercontent.com/u/127450?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/127450?s=400&v=4
og:image:altPR Summary Fix #114 Also fix the following PowerShell issues: PowerShell/PowerShell#27907 PowerShell/PowerShell#27982 PowerShell/PowerShell#27199 Replace the hard-coded Trusted Platform Assemblie...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None065128366c233a9d57ff68ab6c96e25b99dd1b0ab70d23b70873d3dd6b5e4f19
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/PowerShell/PowerShell-Native git https://github.com/PowerShell/PowerShell-Native.git
octolytics-dimension-user_id11524380
octolytics-dimension-user_loginPowerShell
octolytics-dimension-repository_id134639849
octolytics-dimension-repository_nwoPowerShell/PowerShell-Native
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id134639849
octolytics-dimension-repository_network_root_nwoPowerShell/PowerShell-Native
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release941021edf0c2ec58298f4a2c8f27ae507d129c92
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/PowerShell/PowerShell-Native/pull/115/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell-Native%2Fpull%2F115%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell-Native%2Fpull%2F115%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=PowerShell%2FPowerShell-Native
Reloadhttps://github.com/PowerShell/PowerShell-Native/pull/115/files
Reloadhttps://github.com/PowerShell/PowerShell-Native/pull/115/files
Reloadhttps://github.com/PowerShell/PowerShell-Native/pull/115/files
PowerShellhttps://github.com/PowerShell
PowerShell-Nativehttps://github.com/PowerShell/PowerShell-Native
Codehttps://github.com/PowerShell/PowerShell-Native
Issues8 (8)https://github.com/PowerShell/PowerShell-Native/issues
Pull requests7 (7)https://github.com/PowerShell/PowerShell-Native/pulls
Actionshttps://github.com/PowerShell/PowerShell-Native/actions
Projectshttps://github.com/PowerShell/PowerShell-Native/projects
Security and qualityhttps://github.com/PowerShell/PowerShell-Native/security
Insightshttps://github.com/PowerShell/PowerShell-Native/insights
Sign up for GitHub https://github.com/signup?return_to=%2FPowerShell%2FPowerShell-Native%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FPowerShell%2FPowerShell-Native%2Fissues%2Fnew%2Fchoose
Aditya Patwardhan (adityapatwardhan)https://github.com/adityapatwardhan
PowerShell:masterhttps://github.com/PowerShell/PowerShell-Native/tree/master
daxian-dbw:tpahttps://github.com/daxian-dbw/PowerShell-Native/tree/tpa
Conversation 15 https://github.com/PowerShell/PowerShell-Native/pull/115
Commits 2 https://github.com/PowerShell/PowerShell-Native/pull/115/commits
Checks 10 https://github.com/PowerShell/PowerShell-Native/pull/115/checks
Files changed https://github.com/PowerShell/PowerShell-Native/pull/115/files
Please reload this pagehttps://github.com/PowerShell/PowerShell-Native/pull/115/files
Fix the TPA in a more reliable way https://github.com/PowerShell/PowerShell-Native/pull/115/files#top
Show all changes 2 commits https://github.com/PowerShell/PowerShell-Native/pull/115/files
59a3007 Fix the TPA in a more reliable way daxian-dbw Sep 14, 2026 https://github.com/PowerShell/PowerShell-Native/pull/115/commits/59a30074bdc9e8ed547c3c8f3f7d63c5cdcc34ae
5b080c2 Don't add 'pwsh.dll' to TPA list daxian-dbw Sep 16, 2026 https://github.com/PowerShell/PowerShell-Native/pull/115/commits/5b080c2d28c728a14b109a61a6f76f3dc092dbd4
Clear filters https://github.com/PowerShell/PowerShell-Native/pull/115/files
Please reload this pagehttps://github.com/PowerShell/PowerShell-Native/pull/115/files
Please reload this pagehttps://github.com/PowerShell/PowerShell-Native/pull/115/files
NativeMsh.h https://github.com/PowerShell/PowerShell-Native/pull/115/files#diff-c0f528d0191769b0514d8a3c1e1231981aef4f479cdeed06e0135db57197dd3f
SystemCallFacade.h https://github.com/PowerShell/PowerShell-Native/pull/115/files#diff-aeb315a9488753b16e225fdfd478c7b3d136934ea925af1fe74fdaa71eeeaaa4
WinSystemCallFacade.cpp https://github.com/PowerShell/PowerShell-Native/pull/115/files#diff-9f9394cac0bf0660a93fe48fba61750ad2f3ce4126ef4d376d9d78631d558151
WinSystemCallFacade.h https://github.com/PowerShell/PowerShell-Native/pull/115/files#diff-50cc1891a80b8f0b3d5cdc7f8cf0cee0f895eebffb01165063d179e1cd7d1833
pwrshcommon.cpp https://github.com/PowerShell/PowerShell-Native/pull/115/files#diff-650d82ff577083f7075d88f5ac3063bc1cd2e8e288d903d2af4e8afda9dc7036
src/powershell-native/nativemsh/pwrshcommon/NativeMsh.hhttps://github.com/PowerShell/PowerShell-Native/pull/115/files#diff-c0f528d0191769b0514d8a3c1e1231981aef4f479cdeed06e0135db57197dd3f
View file https://github.com/daxian-dbw/PowerShell-Native/blob/5b080c2d28c728a14b109a61a6f76f3dc092dbd4/src/powershell-native/nativemsh/pwrshcommon/NativeMsh.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/PowerShell/PowerShell-Native/pull/115/{{ revealButtonHref }}
https://github.com/PowerShell/PowerShell-Native/pull/115/files#diff-c0f528d0191769b0514d8a3c1e1231981aef4f479cdeed06e0135db57197dd3f
https://github.com/PowerShell/PowerShell-Native/pull/115/files#diff-c0f528d0191769b0514d8a3c1e1231981aef4f479cdeed06e0135db57197dd3f
src/powershell-native/nativemsh/pwrshcommon/SystemCallFacade.hhttps://github.com/PowerShell/PowerShell-Native/pull/115/files#diff-aeb315a9488753b16e225fdfd478c7b3d136934ea925af1fe74fdaa71eeeaaa4
View file https://github.com/daxian-dbw/PowerShell-Native/blob/5b080c2d28c728a14b109a61a6f76f3dc092dbd4/src/powershell-native/nativemsh/pwrshcommon/SystemCallFacade.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/PowerShell/PowerShell-Native/pull/115/{{ revealButtonHref }}
https://github.com/PowerShell/PowerShell-Native/pull/115/files#diff-aeb315a9488753b16e225fdfd478c7b3d136934ea925af1fe74fdaa71eeeaaa4
src/powershell-native/nativemsh/pwrshcommon/WinSystemCallFacade.cpphttps://github.com/PowerShell/PowerShell-Native/pull/115/files#diff-9f9394cac0bf0660a93fe48fba61750ad2f3ce4126ef4d376d9d78631d558151
View file https://github.com/daxian-dbw/PowerShell-Native/blob/5b080c2d28c728a14b109a61a6f76f3dc092dbd4/src/powershell-native/nativemsh/pwrshcommon/WinSystemCallFacade.cpp
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/PowerShell/PowerShell-Native/pull/115/{{ revealButtonHref }}
https://github.com/PowerShell/PowerShell-Native/pull/115/files#diff-9f9394cac0bf0660a93fe48fba61750ad2f3ce4126ef4d376d9d78631d558151
src/powershell-native/nativemsh/pwrshcommon/WinSystemCallFacade.hhttps://github.com/PowerShell/PowerShell-Native/pull/115/files#diff-50cc1891a80b8f0b3d5cdc7f8cf0cee0f895eebffb01165063d179e1cd7d1833
View file https://github.com/daxian-dbw/PowerShell-Native/blob/5b080c2d28c728a14b109a61a6f76f3dc092dbd4/src/powershell-native/nativemsh/pwrshcommon/WinSystemCallFacade.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/PowerShell/PowerShell-Native/pull/115/{{ revealButtonHref }}
https://github.com/PowerShell/PowerShell-Native/pull/115/files#diff-50cc1891a80b8f0b3d5cdc7f8cf0cee0f895eebffb01165063d179e1cd7d1833
Please reload this pagehttps://github.com/PowerShell/PowerShell-Native/pull/115/files
Please reload this pagehttps://github.com/PowerShell/PowerShell-Native/pull/115/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.