PowerShell icon indicating copy to clipboard operation
PowerShell copied to clipboard

Modules returns incorrect data if a keys value contains `=`

Open hellen-dorandt89 opened this issue 3 years ago • 0 comments

Hey I have been using your module for a few weeks, it has made my work really simple. So thank you for sharing it.

I came across an issue I thought I would bring to your attention, if I have a windows .url file that looks like this:

[{000214A0-0000-0000-C000-000000000046}]
Prop3=19,11
[InternetShortcut]
IDList=
URL=https://www.youtube.com/watch?v=fIRbS5jzuXw

Attempting to import it into session with Get-Ini returns incomplete data, the URL keys value containts a the = assignment symbol.

Maybe this is this intended?? hopefully not and maybe you we can have a way to escape = in keys values

hellen-dorandt89 avatar Jan 04 '23 23:01 hellen-dorandt89