Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

!deploy v2.28.1 to resolve #188 #199

Merged
merged 1 commit into from
Jun 1, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
* [PSGSuite - ChangeLog](#psgsuite---changelog)
* [2.28.1](#2281)
* [2.28.0](#2280)
* [2.27.0](#2270)
* [2.26.4](#2264)
Expand Down Expand Up @@ -88,6 +89,11 @@

# PSGSuite - ChangeLog

## 2.28.1

* [Issue #188](https://github.com/scrthq/PSGSuite/issues/188)
* Fixed: `Get-SafeFileName` correctly replaces special RegEx chars with underscores as well.

## 2.28.0

* [Issue #188](https://github.com/scrthq/PSGSuite/issues/188)
Expand Down
2 changes: 1 addition & 1 deletion PSGSuite/PSGSuite.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
RootModule = 'PSGSuite.psm1'

# Version number of this module.
ModuleVersion = '2.28.0'
ModuleVersion = '2.28.1'

# ID used to uniquely identify this module
GUID = '9d751152-e83e-40bb-a6db-4c329092aaec'
Expand Down
2 changes: 1 addition & 1 deletion PSGSuite/Private/Get-SafeFileName.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ function Get-SafeFileName {
$Name
)
Process {
$Name -replace "[$(([System.IO.Path]::GetInvalidFileNameChars() + [System.IO.Path]::GetInvalidPathChars()) -join '')]","_"
$Name -replace "[$([RegEx]::Escape("$(([System.IO.Path]::GetInvalidFileNameChars() + [System.IO.Path]::GetInvalidPathChars()) -join '')"))]","_"
}
}
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,11 @@ All other functions are either intact or have an alias included to support backw

[Full CHANGELOG here](https://github.com/scrthq/PSGSuite/blob/master/CHANGELOG.md)

#### 2.28.1

* [Issue #188](https://github.com/scrthq/PSGSuite/issues/188)
* Fixed: `Get-SafeFileName` correctly replaces special RegEx chars with underscores as well.

#### 2.28.0

* [Issue #188](https://github.com/scrthq/PSGSuite/issues/188)
Expand Down