From 7f9541f08d8f8def006e3ded2e11dd3e2cbbb194 Mon Sep 17 00:00:00 2001 From: Bill Long Date: Fri, 5 Mar 2021 14:33:13 -0600 Subject: [PATCH 1/2] Fix comments --- Security/BackendCookieMitigation.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Security/BackendCookieMitigation.ps1 b/Security/BackendCookieMitigation.ps1 index c7fd1471d3..185562f0a1 100644 --- a/Security/BackendCookieMitigation.ps1 +++ b/Security/BackendCookieMitigation.ps1 @@ -18,7 +18,7 @@ Examples: To apply with MSI install via PowerShell: - . \BackendCookieMitigation.ps1 -FullPathToMSI “" -WebSiteNames "Default Web Site" -Verbose + .\BackendCookieMitigation.ps1 -FullPathToMSI “" -WebSiteNames "Default Web Site" -Verbose To apply without MSI install via PowerShell: .\BackendCookieMitigation.ps1 -WebSiteNames "Default Web Site" -Verbose From 6410b1c0ae9b42c45daacaed84346faabf67a8bf Mon Sep 17 00:00:00 2001 From: Bill Long Date: Fri, 5 Mar 2021 14:35:50 -0600 Subject: [PATCH 2/2] Don't run code signing unless release --- azure-pipelines.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 445d9e967e..aee17b964b 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -30,6 +30,7 @@ steps: Write-Host "##vso[task.setvariable variable=ReleaseTagValue]$tag" - task: EsrpCodeSigning@1 + condition: and(succeeded(), ne (variables['Build.Reason'], 'PullRequest'), eq(variables['Build.SourceBranch'], 'refs/heads/release')) inputs: ConnectedServiceName: 'CSS Exchange Code Sign' FolderPath: 'D:\a\1\s\dist'