We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6b6d981 + 445be33 commit 9e268deCopy full SHA for 9e268de
tools/Custom/PSCmdletExtensions.cs
@@ -29,7 +29,7 @@ internal static string UnescapeString(this PSCmdlet cmdlet, string value)
29
try
30
{
31
var unescapedString = Uri.UnescapeDataString(value);
32
- return value.EndsWith("'") ? unescapedString: unescapedString.Replace('+', ' ');
+ return (value.EndsWith("'") || value.EndsWith("')")) ? unescapedString: unescapedString.Replace('+', ' ');
33
}
34
catch (UriFormatException ex)
35
0 commit comments