Skip to content

Paste a string for the password of Get-Credential crashes PSIC #2420

Closed
PowerShell/PowerShellEditorServices
#1173
@DarkLite1

Description

@DarkLite1

Issue Description

PSIC crashe

Steps to reproduce

  1. Create a file with the following content:

File.ps1

(Get-Credential -UserName 'Test' -Message 'Password please')
  1. Press F5 and the PSIC will ask you for the password.
  2. Copy a random string in the terminal and watch the PSIC crash
Version: 1.42.0-insider (system setup)
Commit: 33c79d5ad447956814a2a3658029dffb9e28bae6
Date: 2020-01-15T09:36:35.018Z
Electron: 7.1.7
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.14393

PowerShell Preview version 2020.10

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions