Skip to content

Commit

Permalink
(GH-986) Remove extra forward slashes in url
Browse files Browse the repository at this point in the history
  • Loading branch information
ferventcoder committed Sep 29, 2016
1 parent d4ea8ce commit 67470c4
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,9 @@ param(

Write-FunctionCallLogMessage -Invocation $MyInvocation -Parameters $PSBoundParameters

if ($url -ne $null) { $url = $url.Replace("//","/").Replace(":/","://") }
if ($url64bit -ne $null) { $url64bit = $url64bit.Replace("//","/").Replace(":/","://") }

$url32bit = $url

# allow user provided values for checksumming
Expand Down

0 comments on commit 67470c4

Please sign in to comment.