Skip to content

Commit 9f74bb2

Browse files
committed
Merge pull request #316 from silarsis/development
fixing a small typo
2 parents 4766205 + d809a1f commit 9f74bb2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Rules/Strings.Designer.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Rules/Strings.resx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@
586586
<value>Using Internal URLs in the scripts may cause security problems.</value>
587587
</data>
588588
<data name="AvoidUsingInternalURLsError" xml:space="preserve">
589-
<value>'{0}' could be an internal URL. Using internal URL directly in the script may cause potential information discloure.</value>
589+
<value>'{0}' could be an internal URL. Using internal URL directly in the script may cause potential information disclosure.</value>
590590
</data>
591591
<data name="AvoidUsingInternalURLsName" xml:space="preserve">
592592
<value>AvoidUsingInternalURLs</value>

Tests/Rules/AvoidUsingInternalURLs.tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Import-Module PSScriptAnalyzer
2-
$violationMessage = "could be an internal URL. Using internal URL directly in the script may cause potential information discloure."
2+
$violationMessage = "could be an internal URL. Using internal URL directly in the script may cause potential information disclosure."
33
$violationName = "PSAvoidUsingInternalURLs"
44
$directory = Split-Path -Parent $MyInvocation.MyCommand.Path
55
$violations = Invoke-ScriptAnalyzer $directory\AvoidUsingInternalURLs.ps1 | Where-Object {$_.RuleName -eq $violationName}

0 commit comments

Comments
 (0)