Skip to content
This repository was archived by the owner on Jun 13, 2024. It is now read-only.

Commit 22a87ee

Browse files
committed
Merge branch 'development'
2 parents 45df8fb + f45bfe1 commit 22a87ee

File tree

4 files changed

+19
-2
lines changed

4 files changed

+19
-2
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# Changelog
2+
### 2.2.5
3+
- Security patch for code injection bug
4+
25
### 2.2.4.1
36
- Remove catalog file
47

README.md

+9
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,15 @@
55
[![PowerShell Gallery - PowerShellGet](https://img.shields.io/badge/PowerShell%20Gallery-PowerShellGet-blue.svg)](https://www.powershellgallery.com/packages/PowerShellGet)
66
[![Minimum Supported PowerShell Version](https://img.shields.io/badge/PowerShell-3.0-blue.svg)](https://github.com/PowerShell/PowerShellGet)
77

8+
Important Note
9+
==============
10+
11+
This version of the module is currently not in development.
12+
We are no longer accepting any pull requests to this repository and are not planning any future releases.
13+
If you have a question, or are seeing an unexpected behavior from PowerShellGet 2.x or below please open an issue in this repository.
14+
We are tracking the on-going development of the new version of this module in the [PowerShell/PowerShellGet](https://github.com/powershell/powershellget) repository.
15+
The [PowerShell/PowerShellGet](https://github.com/powershell/powershellget) repository is also the best place to open any feature requests for this module.
16+
817
Introduction
918
============
1019

src/PowerShellGet/PowerShellGet.psd1

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@{
22
RootModule = 'PSModule.psm1'
3-
ModuleVersion = '2.2.4.1'
3+
ModuleVersion = '2.2.5'
44
GUID = '1d73a601-4a6c-43c5-ba3f-619b18bbb404'
55
Author = 'Microsoft Corporation'
66
CompanyName = 'Microsoft Corporation'
@@ -55,6 +55,9 @@
5555
ProjectUri = 'https://go.microsoft.com/fwlink/?LinkId=828955'
5656
LicenseUri = 'https://go.microsoft.com/fwlink/?LinkId=829061'
5757
ReleaseNotes = @'
58+
### 2.2.5
59+
- Security patch for code injection bug
60+
5861
### 2.2.4.1
5962
- Remove catalog file
6063

src/PowerShellGet/private/functions/Ping-Endpoint.ps1

+3-1
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,14 @@ function Ping-Endpoint
7777
$iss.formats.clear()
7878
$iss.LanguageMode = "FullLanguage"
7979

80+
$EndPoint = [System.Management.Automation.Language.CodeGeneration]::EscapeSingleQuotedStringContent($EndPoint)
81+
8082
$WebRequestcmd = @'
8183
param($Credential, $WebProxy)
8284
8385
try
8486
{{
85-
$request = [System.Net.WebRequest]::Create("{0}")
87+
$request = [System.Net.WebRequest]::Create('{0}')
8688
$request.Method = 'GET'
8789
$request.Timeout = 30000
8890
if($Credential)

0 commit comments

Comments
 (0)