Skip to content

Commit eb7c565

Browse files
committed
Change column count to 3 and 4.
1 parent 52f882c commit eb7c565

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rules/AvoidUsingInternalURLs.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public IEnumerable<DiagnosticRecord> AnalyzeScript(Ast ast, string fileName)
115115
{
116116
//Add a check to exclude potential SDDL format. Check if a string have four components separated by ":"
117117
var count = firstPartURL.Count(x => x == ':');
118-
if (count > 3 )
118+
if (count == 3 || count == 4 )
119119
{
120120
isInternalURL = true;
121121
}

0 commit comments

Comments
 (0)