You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following error is thrown as the uri appears to have been decoded prior to validation:
New-ModuleManifest : The specified value 'http://tfs:8080/tfs/ISD/Automation/_versionControl?path=$/Automation Test' is invalid, try again with a valid value.
At C:\Work\TFS\Automation\Deployment Automation\Development\PipelineImprovements\ServerIntegrationManagement\Modules\ServerIntegrationManagementClientCore\Test.ps1:5 char:1
+ New-ModuleManifest `
+ ~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (ProjectUri:String) [New-ModuleManifest], InvalidOperationException
+ FullyQualifiedErrorId : Modules_InvalidUri,Microsoft.PowerShell.Commands.NewModuleManifestCommand
Testing has found that it is %20 (space character) which is causing the issue. The uri validates with [System.Uri]::IsWellFormedUriString with a return value of $true
Environment data
>$PSVersionTable
Name Value
---------
PSVersion 5.0.10586.117
PSCompatibleVersions {1.0,2.0,3.0,4.0...}
BuildVersion 10.0.10586.117
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Steps to reproduce
Expected behavior
Manifest is created with a
ProjectUrivalue of:Actual behavior
The following error is thrown as the uri appears to have been decoded prior to validation:
Testing has found that it is
%20(space character) which is causing the issue. The uri validates with[System.Uri]::IsWellFormedUriStringwith a return value of$trueEnvironment data