Title: Read-Host max imput length cap in pwsh 7 · Issue #12354 · PowerShell/PowerShell · GitHub
Open Graph Title: Read-Host max imput length cap in pwsh 7 · Issue #12354 · PowerShell/PowerShell
X Title: Read-Host max imput length cap in pwsh 7 · Issue #12354 · PowerShell/PowerShell
Description: Steps to reproduce Read-Host then paste: {"testKey":"0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
Open Graph Description: Steps to reproduce Read-Host then paste: {"testKey":"000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
X Description: Steps to reproduce Read-Host then paste: {"testKey":"000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/12354
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Read-Host max imput length cap in pwsh 7","articleBody":"# Steps to reproduce\r\n\r\n```powershell\r\nRead-Host\r\n```\r\nthen paste:\r\n```powershell\r\n{\"testKey\":\"00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\"}\r\n```\r\n\r\n# Expected behavior\r\n\r\nThe output should display the full input.\r\n\r\n# Actual behavior\r\n\r\nThe input is truncated at 1022 chars.\r\n\r\n# Environment data\r\n\r\n\u003c!-- provide the output of $PSVersionTable -->\r\n\r\n```none\r\nName Value\r\n---- -----\r\nPSVersion 7.0.0\r\nPSEdition Core\r\nGitCommitId 7.0.0\r\nOS Microsoft Windows 10.0.18363\r\nPlatform Win32NT\r\nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}\r\nPSRemotingProtocolVersion 2.3\r\nSerializationVersion 1.1.0.1\r\nWSManStackVersion 3.0\r\n```\r\n\r\n#NOTE:\r\nThis works in powershell 5.1.18362.752","author":{"url":"https://github.com/Tyf0x","@type":"Person","name":"Tyf0x"},"datePublished":"2020-04-17T09:05:01Z","url":"https://github.com/PowerShell/PowerShell/issues/12354"}
| 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/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ce028997-a2a1-213a-11e9-929aadcc0c27 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B62C:2A973C:4B45:5D3F:6AFD88F9 |
| html-safe-nonce | 1f67849537cb9d4385be815d07b4f1faffb19e126fac275f9d1b3915ac774eb1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNjJDOjJBOTczQzo0QjQ1OjVEM0Y6NkFGRDg4RjkiLCJ2aXNpdG9yX2lkIjoiNDA0MzcyOTE1NzEzNjE1NjkyMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 963f47307afd2987440722145801b4838d359ba7922b903111eb0f3f2bc936e9 |
| hovercard-subject-tag | issue:601819062 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/12354/issue_layout |
| twitter:image | https://opengraph.githubassets.com/159bcdcd0187986a18019efe95aba58580820304782ad9ed10c9621081341084/PowerShell/PowerShell/issues/12354 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/159bcdcd0187986a18019efe95aba58580820304782ad9ed10c9621081341084/PowerShell/PowerShell/issues/12354 |
| og:image:alt | Steps to reproduce Read-Host then paste: {"testKey":"000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Tyf0x |
| hostname | github.com |
| expected-hostname | github.com |
| None | bc86424ef34a73b386237872800e922d149d65ba907f63d6f150a2dcb8433bea |
| turbo-cache-control | no-preview |
| 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 | issues |
Links:
Viewport: width=device-width