René's URL Explorer Experiment


Title: Add support for parsing Link Header with variable whitespace by SteveL-MSFT · Pull Request #7322 · PowerShell/PowerShell · GitHub

Open Graph Title: Add support for parsing Link Header with variable whitespace by SteveL-MSFT · Pull Request #7322 · PowerShell/PowerShell

X Title: Add support for parsing Link Header with variable whitespace by SteveL-MSFT · Pull Request #7322 · PowerShell/PowerShell

Description: add support for variable whitespace in link header PR Summary Thanks to the @cruscio's analysis, it appears that the Link Header allows for any amount of whitespace or even no whitespace. The currently explicitly expect a single whitespace after the semicolon in the Link Header before the Rel property. Fix is to change the regex to allow for variable or no whitespace and associated tests to handle these two cases. Changed GetLink helper to support passing in whitespace to use. Fix #5667 PR Checklist PR has a meaningful title Use the present tense and imperative mood when describing your changes Summarized changes Change is not breaking Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header This PR is ready to merge and is not Work in Progress. If the PR is work in progress, please add the prefix WIP: to the beginning of the title and remove the prefix when the PR is ready. User-facing changes Not Applicable OR User-facing Documentation needed Issue filed - Issue link: Testing - New and feature Not Applicable or can only be tested interactively OR Make sure you've added a new test if existing tests do not effectively test the code changed Add [feature] if the change is significant or affects feature tests

Open Graph Description: add support for variable whitespace in link header PR Summary Thanks to the @cruscio's analysis, it appears that the Link Header allows for any amount of whitespace or even no whitespace. The ...

X Description: add support for variable whitespace in link header PR Summary Thanks to the @cruscio's analysis, it appears that the Link Header allows for any amount of whitespace or even no whitespace. ...

Opengraph URL: https://github.com/PowerShell/PowerShell/pull/7322

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:b2be0d5c-3800-e42c-1756-d6e6daaf6153
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCBCC:7DC2D:253B86D:358AFE2:6A58F1AF
html-safe-nonce7e57454e93e3ce7c585bd6325e5a8b0fee4921c1b956b258be41b8b2490b9381
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQkNDOjdEQzJEOjI1M0I4NkQ6MzU4QUZFMjo2QTU4RjFBRiIsInZpc2l0b3JfaWQiOiI0NTEzMzg3NjMxOTg5MDI3MjQ3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac6789b79a5a39b618c2a177a9ba04d0a925dd898ec5db8c235dc60a01f8664ae6
hovercard-subject-tagpull_request:202940449
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/pull/7322/files
twitter:imagehttps://avatars.githubusercontent.com/u/11859881?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/11859881?s=400&v=4
og:image:altadd support for variable whitespace in link header PR Summary Thanks to the @cruscio's analysis, it appears that the Link Header allows for any amount of whitespace or even no whitespace. The ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git
octolytics-dimension-user_id11524380
octolytics-dimension-user_loginPowerShell
octolytics-dimension-repository_id49609581
octolytics-dimension-repository_nwoPowerShell/PowerShell
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id49609581
octolytics-dimension-repository_network_root_nwoPowerShell/PowerShell
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
release8aae7b8d6caacacf5c66eaeb2702d8dc88d85b4a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/PowerShell/PowerShell/pull/7322/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F7322%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F7322%2Ffiles
Sign up https://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
Reloadhttps://github.com/PowerShell/PowerShell/pull/7322/files
Reloadhttps://github.com/PowerShell/PowerShell/pull/7322/files
Reloadhttps://github.com/PowerShell/PowerShell/pull/7322/files
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/7322/files
PowerShell https://github.com/PowerShell
PowerShellhttps://github.com/PowerShell/PowerShell
Notifications https://github.com/login?return_to=%2FPowerShell%2FPowerShell
Fork 8.4k https://github.com/login?return_to=%2FPowerShell%2FPowerShell
Star 54.4k https://github.com/login?return_to=%2FPowerShell%2FPowerShell
Code https://github.com/PowerShell/PowerShell
Issues 1.2k https://github.com/PowerShell/PowerShell/issues
Pull requests 291 https://github.com/PowerShell/PowerShell/pulls
Discussions https://github.com/PowerShell/PowerShell/discussions
Actions https://github.com/PowerShell/PowerShell/actions
Projects https://github.com/PowerShell/PowerShell/projects
Security and quality 3 https://github.com/PowerShell/PowerShell/security
Insights https://github.com/PowerShell/PowerShell/pulse
Code https://github.com/PowerShell/PowerShell
Issues https://github.com/PowerShell/PowerShell/issues
Pull requests https://github.com/PowerShell/PowerShell/pulls
Discussions https://github.com/PowerShell/PowerShell/discussions
Actions https://github.com/PowerShell/PowerShell/actions
Projects https://github.com/PowerShell/PowerShell/projects
Security and quality https://github.com/PowerShell/PowerShell/security
Insights https://github.com/PowerShell/PowerShell/pulse
Sign up for GitHub https://github.com/signup?return_to=%2FPowerShell%2FPowerShell%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%2Fissues%2Fnew%2Fchoose
iSazonovhttps://github.com/iSazonov
PowerShell:masterhttps://github.com/PowerShell/PowerShell/tree/master
SteveL-MSFT:link-header-whitespacehttps://github.com/SteveL-MSFT/PowerShell/tree/link-header-whitespace
Conversation 5 https://github.com/PowerShell/PowerShell/pull/7322
Commits 3 https://github.com/PowerShell/PowerShell/pull/7322/commits
Checks 0 https://github.com/PowerShell/PowerShell/pull/7322/checks
Files changed https://github.com/PowerShell/PowerShell/pull/7322/files
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/7322/files
Add support for parsing Link Header with variable whitespace https://github.com/PowerShell/PowerShell/pull/7322/files#top
Show all changes 3 commits https://github.com/PowerShell/PowerShell/pull/7322/files
0bf737e [feature] SteveL-MSFT Jul 20, 2018 https://github.com/PowerShell/PowerShell/pull/7322/commits/0bf737eb9da45243d2fcb61d8776d974f1e3b586
7bcf6e5 [feature] SteveL-MSFT Jul 20, 2018 https://github.com/PowerShell/PowerShell/pull/7322/commits/7bcf6e51227fd428efc18dc8ec00295b5b5608f9
7bff95c address Mark's feedback SteveL-MSFT Jul 21, 2018 https://github.com/PowerShell/PowerShell/pull/7322/commits/7bff95c06db0adaf10a5f79e023af31c51723ea0
Clear filters https://github.com/PowerShell/PowerShell/pull/7322/files
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/7322/files
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/7322/files
WebRequestPSCmdlet.Common.cs https://github.com/PowerShell/PowerShell/pull/7322/files#diff-9e8673bc737d91c9712fa4e7e5fef6aac6690999bcbd0777759563afd015c50d
WebCmdlets.Tests.ps1 https://github.com/PowerShell/PowerShell/pull/7322/files#diff-1b256250c40f42b7c01f2695c0c908112a4eead87e3ef3ff534768ad930e7ca1
Constants.cs https://github.com/PowerShell/PowerShell/pull/7322/files#diff-ec12e37253375f03e32081710cefa7b72e0a11ebdfd2dc555f21aa2505bef786
LinkController.cs https://github.com/PowerShell/PowerShell/pull/7322/files#diff-3d1d387df13351a7f117cfd212209f0cf6e280abefeecb961a1f7ae7e2c5daca
README.md https://github.com/PowerShell/PowerShell/pull/7322/files#diff-999cd27e4918d4ad20ceaff6b558eec1344a40f32aadef0625efb2fc7bd04639
https://github.com/PowerShell/PowerShell/blob/master/.github/CODEOWNERS#L7
...owerShell.Commands.Utility/commands/utility/WebCmdlet/Common/WebRequestPSCmdlet.Common.cshttps://github.com/PowerShell/PowerShell/pull/7322/files#diff-9e8673bc737d91c9712fa4e7e5fef6aac6690999bcbd0777759563afd015c50d
View file https://github.com/SteveL-MSFT/PowerShell/blob/7bff95c06db0adaf10a5f79e023af31c51723ea0/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/Common/WebRequestPSCmdlet.Common.cs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/PowerShell/PowerShell/pull/7322/{{ revealButtonHref }}
https://github.com/PowerShell/PowerShell/pull/7322/files#diff-9e8673bc737d91c9712fa4e7e5fef6aac6690999bcbd0777759563afd015c50d
TravisEz13https://github.com/TravisEz13
Jul 20, 2018https://github.com/PowerShell/PowerShell/pull/7322/files#r204165072
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/7322/files
TravisEz13https://github.com/TravisEz13
Jul 20, 2018https://github.com/PowerShell/PowerShell/pull/7322/files#r204177782
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/7322/files
https://github.com/PowerShell/PowerShell/pull/7322/files#diff-9e8673bc737d91c9712fa4e7e5fef6aac6690999bcbd0777759563afd015c50d
https://github.com/PowerShell/PowerShell/blob/master/.github/CODEOWNERS#L7
test/powershell/Modules/Microsoft.PowerShell.Utility/WebCmdlets.Tests.ps1https://github.com/PowerShell/PowerShell/pull/7322/files#diff-1b256250c40f42b7c01f2695c0c908112a4eead87e3ef3ff534768ad930e7ca1
View file https://github.com/SteveL-MSFT/PowerShell/blob/7bff95c06db0adaf10a5f79e023af31c51723ea0/test/powershell/Modules/Microsoft.PowerShell.Utility/WebCmdlets.Tests.ps1
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/PowerShell/PowerShell/pull/7322/{{ revealButtonHref }}
https://github.com/PowerShell/PowerShell/pull/7322/files#diff-1b256250c40f42b7c01f2695c0c908112a4eead87e3ef3ff534768ad930e7ca1
https://github.com/PowerShell/PowerShell/pull/7322/files#diff-1b256250c40f42b7c01f2695c0c908112a4eead87e3ef3ff534768ad930e7ca1
https://github.com/PowerShell/PowerShell/pull/7322/files#diff-1b256250c40f42b7c01f2695c0c908112a4eead87e3ef3ff534768ad930e7ca1
https://github.com/PowerShell/PowerShell/pull/7322/files#diff-1b256250c40f42b7c01f2695c0c908112a4eead87e3ef3ff534768ad930e7ca1
https://github.com/PowerShell/PowerShell/blob/master/.github/CODEOWNERS#L64
test/tools/WebListener/Constants.cshttps://github.com/PowerShell/PowerShell/pull/7322/files#diff-ec12e37253375f03e32081710cefa7b72e0a11ebdfd2dc555f21aa2505bef786
View file https://github.com/SteveL-MSFT/PowerShell/blob/7bff95c06db0adaf10a5f79e023af31c51723ea0/test/tools/WebListener/Constants.cs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/PowerShell/PowerShell/pull/7322/{{ revealButtonHref }}
https://github.com/PowerShell/PowerShell/pull/7322/files#diff-ec12e37253375f03e32081710cefa7b72e0a11ebdfd2dc555f21aa2505bef786
https://github.com/PowerShell/PowerShell/pull/7322/files#diff-ec12e37253375f03e32081710cefa7b72e0a11ebdfd2dc555f21aa2505bef786
https://github.com/PowerShell/PowerShell/blob/master/.github/CODEOWNERS#L64
test/tools/WebListener/Controllers/LinkController.cshttps://github.com/PowerShell/PowerShell/pull/7322/files#diff-3d1d387df13351a7f117cfd212209f0cf6e280abefeecb961a1f7ae7e2c5daca
View file https://github.com/SteveL-MSFT/PowerShell/blob/7bff95c06db0adaf10a5f79e023af31c51723ea0/test/tools/WebListener/Controllers/LinkController.cs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/PowerShell/PowerShell/pull/7322/{{ revealButtonHref }}
https://github.com/PowerShell/PowerShell/pull/7322/files#diff-3d1d387df13351a7f117cfd212209f0cf6e280abefeecb961a1f7ae7e2c5daca
https://github.com/PowerShell/PowerShell/pull/7322/files#diff-3d1d387df13351a7f117cfd212209f0cf6e280abefeecb961a1f7ae7e2c5daca
https://github.com/PowerShell/PowerShell/pull/7322/files#diff-3d1d387df13351a7f117cfd212209f0cf6e280abefeecb961a1f7ae7e2c5daca
https://github.com/PowerShell/PowerShell/pull/7322/files#diff-3d1d387df13351a7f117cfd212209f0cf6e280abefeecb961a1f7ae7e2c5daca
https://github.com/PowerShell/PowerShell/blob/master/.github/CODEOWNERS#L64
test/tools/WebListener/README.mdhttps://github.com/PowerShell/PowerShell/pull/7322/files#diff-999cd27e4918d4ad20ceaff6b558eec1344a40f32aadef0625efb2fc7bd04639
View file https://github.com/SteveL-MSFT/PowerShell/blob/7bff95c06db0adaf10a5f79e023af31c51723ea0/test/tools/WebListener/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/PowerShell/PowerShell/pull/7322/{{ revealButtonHref }}
https://github.com/PowerShell/PowerShell/pull/7322/files#diff-999cd27e4918d4ad20ceaff6b558eec1344a40f32aadef0625efb2fc7bd04639
https://github.com/PowerShell/PowerShell/pull/7322/files#diff-999cd27e4918d4ad20ceaff6b558eec1344a40f32aadef0625efb2fc7bd04639
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.