| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:0e5dae40-e3cf-d243-61aa-377957456ebd |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 91B0:1EF581:7D8B84:B7467B:6AFD8681 |
| html-safe-nonce | 10484541537a38f5f394074904d58b3f506b538e2c926ba1e1be2ec04b4728b0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MUIwOjFFRjU4MTo3RDhCODQ6Qjc0NjdCOjZBRkQ4NjgxIiwidmlzaXRvcl9pZCI6IjczMjg3MzE5OTg2NzM3OTg3ODUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c95883a5a471d955bf878759da532392409e10e811c80dff20400c2e50493b96 |
| hovercard-subject-tag | pull_request:145589826 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/PowerShell/PowerShell/5076/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/a516c3ac7d580571aad9c7e3c424df37cc7999cc971a8a2dd0342d019d792bc1/PowerShell/PowerShell/pull/5076 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a516c3ac7d580571aad9c7e3c424df37cc7999cc971a8a2dd0342d019d792bc1/PowerShell/PowerShell/pull/5076 |
| og:image:alt | resolve #4980
once the -raw parameter is set, we should force the contentString not to substring under any circumstance
Before the fix:
get-content -raw will ignore \n
After the fix:
get-content -r... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | chunqingchen |
| hostname | github.com |
| expected-hostname | github.com |
| None | bc86424ef34a73b386237872800e922d149d65ba907f63d6f150a2dcb8433bea |
| turbo-cache-control | no-cache |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 927a6c5ab1c32b38830f1b9d3050c0b9e9aa92e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/PowerShell/PowerShell/pull/5076#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F5076 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F5076 |
| 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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=PowerShell%2FPowerShell |
| Reload | https://github.com/PowerShell/PowerShell/pull/5076 |
| Reload | https://github.com/PowerShell/PowerShell/pull/5076 |
| Reload | https://github.com/PowerShell/PowerShell/pull/5076 |
| PowerShell | https://github.com/PowerShell |
| PowerShell | https://github.com/PowerShell/PowerShell |
| Code | https://github.com/PowerShell/PowerShell |
| Issues1.3k (1.3k) | https://github.com/PowerShell/PowerShell/issues |
| Pull requests366 (366) | 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 quality3 (3) | https://github.com/PowerShell/PowerShell/security |
| Insights | https://github.com/PowerShell/PowerShell/insights |
| https://github.com/PowerShell/PowerShell |
| Ilya (iSazonov) | https://github.com/iSazonov |
| PowerShell:master | https://github.com/PowerShell/PowerShell/tree/master |
| chunqingchen:bugfix0 | https://github.com/chunqingchen/PowerShell/tree/bugfix0 |
| Conversation | https://github.com/PowerShell/PowerShell/pull/5076 |
| Commits2 (2) | https://github.com/PowerShell/PowerShell/pull/5076/commits |
| Checks | https://github.com/PowerShell/PowerShell/pull/5076/checks |
| Files changed | https://github.com/PowerShell/PowerShell/pull/5076/files |
| Get-Content -Raw should not neglects to read the last character | https://github.com/PowerShell/PowerShell/pull/5076#top |
| Ilya (iSazonov) | https://github.com/iSazonov |
| PowerShell:master | https://github.com/PowerShell/PowerShell/tree/master |
| chunqingchen:bugfix0 | https://github.com/chunqingchen/PowerShell/tree/bugfix0 |
|
| https://github.com/chunqingchen |
| Chunqing Chen (chunqingchen) | https://github.com/chunqingchen |
| Oct 10, 2017 | https://github.com/PowerShell/PowerShell/pull/5076#issue-264084600 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/5076 |
| #4980 | https://github.com/PowerShell/PowerShell/issues/4980 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/5076 |
| https://github.com/chunqingchen |
| Chunqing Chen (chunqingchen) | https://github.com/chunqingchen |
| Bruce Payette (BrucePay) | https://github.com/BrucePay |
| Andrew (anmenaga) | https://github.com/anmenaga |
| code owners | https://github.com/PowerShell/PowerShell/blob/68f318364cd3fec95443e0cebc0de0fbad8a62f2/.github/CODEOWNERS#L60 |
| October 10, 2017 03:04 | https://github.com/PowerShell/PowerShell/pull/5076#event-1285240892 |
|
| https://github.com/chunqingchen |
| Get-Content -Raw should not neglects to read the last character | https://github.com/PowerShell/PowerShell/pull/5076/commits/23ea68a2faba0c6c3bcddb78b396187045cefe7a |
| 23ea68a | https://github.com/PowerShell/PowerShell/pull/5076/commits/23ea68a2faba0c6c3bcddb78b396187045cefe7a |
| https://github.com/chunqingchen |
| Chunqing Chen (chunqingchen) | https://github.com/chunqingchen |
| force-pushed | https://github.com/PowerShell/PowerShell/compare/d8090dcbd716d53c49463b5ec607c901e7c895f3..23ea68a2faba0c6c3bcddb78b396187045cefe7a |
| d8090dc | https://github.com/PowerShell/PowerShell/commit/d8090dcbd716d53c49463b5ec607c901e7c895f3 |
| 23ea68a | https://github.com/PowerShell/PowerShell/commit/23ea68a2faba0c6c3bcddb78b396187045cefe7a |
|
Compare
| https://github.com/PowerShell/PowerShell/compare/d8090dcbd716d53c49463b5ec607c901e7c895f3..23ea68a2faba0c6c3bcddb78b396187045cefe7a |
| October 10, 2017 03:09 | https://github.com/PowerShell/PowerShell/pull/5076#event-1285244179 |
| https://github.com/iSazonov |
| Ilya (iSazonov) | https://github.com/iSazonov |
| Oct 10, 2017 | https://github.com/PowerShell/PowerShell/pull/5076#issuecomment-335404706 |
| Michael Klement (@mklement0) | https://github.com/mklement0 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/5076 |
| https://github.com/anmenaga |
| Andrew (anmenaga) | https://github.com/anmenaga |
|
Oct 10, 2017
| https://github.com/PowerShell/PowerShell/pull/5076#pullrequestreview-68430834 |
|
View reviewed changes
| https://github.com/PowerShell/PowerShell/pull/5076/files/23ea68a2faba0c6c3bcddb78b396187045cefe7a |
| src/System.Management.Automation/namespaces/FileSystemContentStream.cs | https://github.com/PowerShell/PowerShell/pull/5076/files/23ea68a2faba0c6c3bcddb78b396187045cefe7a#diff-75f5b57dd293e06f81b922ba5108f167692825a8e4b8596b99aaf9e43a019af9 |
| Andrew (anmenaga) | https://github.com/anmenaga |
| Oct 10, 2017 | https://github.com/PowerShell/PowerShell/pull/5076#discussion_r143856411 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/5076 |
| Chunqing Chen (chunqingchen) | https://github.com/chunqingchen |
| Oct 11, 2017 | https://github.com/PowerShell/PowerShell/pull/5076#discussion_r143947196 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/5076 |
| test/powershell/Modules/Microsoft.PowerShell.Management/Get-Content.Tests.ps1 | https://github.com/PowerShell/PowerShell/pull/5076/files/23ea68a2faba0c6c3bcddb78b396187045cefe7a#diff-2c1af6e810bc955906f6ed32a86c1e8123495645dc76f5cfe75673f61c49bec9 |
| Andrew (anmenaga) | https://github.com/anmenaga |
| Oct 10, 2017 | https://github.com/PowerShell/PowerShell/pull/5076#discussion_r143857076 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| testing guidelines | https://github.com/PowerShell/PowerShell/blob/master/docs/testing-guidelines/WritingPesterTests.md#parameter-generation |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/5076 |
| https://github.com/iSazonov |
| Ilya (iSazonov) | https://github.com/iSazonov |
| Oct 11, 2017 | https://github.com/PowerShell/PowerShell/pull/5076#event-1288243989 |
| https://github.com/chunqingchen |
| Chunqing Chen (chunqingchen) | https://github.com/chunqingchen |
| Oct 12, 2017 | https://github.com/PowerShell/PowerShell/pull/5076#issuecomment-336041640 |
| Andrew (@anmenaga) | https://github.com/anmenaga |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/5076 |
| https://github.com/iSazonov |
| Ilya (iSazonov) | https://github.com/iSazonov |
|
Oct 12, 2017
| https://github.com/PowerShell/PowerShell/pull/5076#pullrequestreview-68972626 |
|
View reviewed changes
| https://github.com/PowerShell/PowerShell/pull/5076/files |
| test/powershell/Modules/Microsoft.PowerShell.Management/Get-Content.Tests.ps1 | https://github.com/PowerShell/PowerShell/pull/5076/files#diff-2c1af6e810bc955906f6ed32a86c1e8123495645dc76f5cfe75673f61c49bec9 |
| Ilya (iSazonov) | https://github.com/iSazonov |
| Oct 12, 2017 | https://github.com/PowerShell/PowerShell/pull/5076#discussion_r144330113 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/5076 |
| Chunqing Chen (chunqingchen) | https://github.com/chunqingchen |
| Oct 12, 2017 | https://github.com/PowerShell/PowerShell/pull/5076#discussion_r144423129 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| testing guidelines | https://github.com/PowerShell/PowerShell/blob/master/docs/testing-guidelines/WritingPesterTests.md#parameter-generation |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/5076 |
| Ilya (iSazonov) | https://github.com/iSazonov |
| Oct 13, 2017 | https://github.com/PowerShell/PowerShell/pull/5076#discussion_r144461981 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| sample | https://github.com/PowerShell/PowerShell/blob/master/test/powershell/Modules/Microsoft.PowerShell.Management/ControlService.Tests.ps1#L12 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/5076 |
| https://github.com/anmenaga |
| Andrew (anmenaga) | https://github.com/anmenaga |
|
Oct 12, 2017
| https://github.com/PowerShell/PowerShell/pull/5076#pullrequestreview-69050880 |
|
View reviewed changes
| https://github.com/PowerShell/PowerShell/pull/5076/files |
|
| https://github.com/chunqingchen |
| update test case to use -testcase struct | https://github.com/PowerShell/PowerShell/pull/5076/commits/15b6a9375e0d0c65d93d42e2b57b367afe162193 |
| 15b6a93 | https://github.com/PowerShell/PowerShell/pull/5076/commits/15b6a9375e0d0c65d93d42e2b57b367afe162193 |
| https://github.com/chunqingchen |
| Chunqing Chen (chunqingchen) | https://github.com/chunqingchen |
| force-pushed | https://github.com/PowerShell/PowerShell/compare/775c554b1882a58fb74f091440271ff5d4b6ab58..15b6a9375e0d0c65d93d42e2b57b367afe162193 |
| 775c554 | https://github.com/PowerShell/PowerShell/commit/775c554b1882a58fb74f091440271ff5d4b6ab58 |
| 15b6a93 | https://github.com/PowerShell/PowerShell/commit/15b6a9375e0d0c65d93d42e2b57b367afe162193 |
|
Compare
| https://github.com/PowerShell/PowerShell/compare/775c554b1882a58fb74f091440271ff5d4b6ab58..15b6a9375e0d0c65d93d42e2b57b367afe162193 |
| October 13, 2017 04:32 | https://github.com/PowerShell/PowerShell/pull/5076#event-1291583097 |
| https://github.com/iSazonov |
| Ilya (iSazonov) | https://github.com/iSazonov |
|
Oct 13, 2017
| https://github.com/PowerShell/PowerShell/pull/5076#pullrequestreview-69139547 |
|
View reviewed changes
| https://github.com/PowerShell/PowerShell/pull/5076/files/15b6a9375e0d0c65d93d42e2b57b367afe162193 |
| https://github.com/iSazonov |
| Ilya (iSazonov) | https://github.com/iSazonov |
| 07d3b18 | https://github.com/PowerShell/PowerShell/commit/07d3b1806c3ea1ebfe00f608a5e865d273623244 |
| Oct 13, 2017 | https://github.com/PowerShell/PowerShell/pull/5076#event-1291709147 |
| https://github.com/iSazonov |
| Ilya (iSazonov) | https://github.com/iSazonov |
| Oct 13, 2017 | https://github.com/PowerShell/PowerShell/pull/5076#issuecomment-336368945 |
| Chunqing Chen (@chunqingchen) | https://github.com/chunqingchen |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/5076 |
| Thatgfsj (Thatgfsj) | https://github.com/Thatgfsj |
|
Aug 6, 2026
| https://github.com/PowerShell/PowerShell/pull/5076#ref-commit-1528963 |
|
| https://github.com/chunqingchen |
|
| https://github.com/iSazonov |
| Get-Content -Raw should not neglects to read the last character, if i… | https://github.com/Thatgfsj-contribs/PowerShell/commit/1528963ee9e7622bb35b8493806803680276b52b |
| 1528963 | https://github.com/Thatgfsj-contribs/PowerShell/commit/1528963ee9e7622bb35b8493806803680276b52b |
| PowerShell#5076 | https://github.com/PowerShell/PowerShell/pull/5076 |
| https://github.co/hiddenchars |
| https://github.com/PowerShell/PowerShell/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F5076 |
|
| https://github.com/iSazonov |
|
Ilya (iSazonov)
| https://github.com/iSazonov |
|
| https://github.com/PowerShell/PowerShell/pull/5076/files/15b6a9375e0d0c65d93d42e2b57b367afe162193 |
|
| https://github.com/BrucePay |
|
Bruce Payette (BrucePay)
| https://github.com/BrucePay |
|
| https://github.com/anmenaga |
|
Andrew (anmenaga)
| https://github.com/anmenaga |
|
| https://github.com/PowerShell/PowerShell/pull/5076/files/775c554b1882a58fb74f091440271ff5d4b6ab58 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/5076 |
|
| https://github.com/iSazonov |
|
Ilya (iSazonov)
| https://github.com/iSazonov |
|
Get-Content -Raw neglects to read the last character, if it is a LF
| https://github.com/PowerShell/PowerShell/issues/4980 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/5076 |
|
| https://github.com/chunqingchen |
|
| https://github.com/iSazonov |
|
| https://github.com/anmenaga |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |