Skip to content

Commit

Permalink
Fix typo in SSL configuration. Per https://developer.mozilla.org/en-U…
Browse files Browse the repository at this point in the history
  • Loading branch information
hickford committed May 19, 2015
1 parent da2fd0a commit 5b6fcbf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/NuGetGallery/Web.config
Expand Up @@ -241,7 +241,7 @@
<add name="X-Frame-Options" value="deny" />
<add name="X-XSS-Protection" value="1; mode=block" />
<add name="X-Content-Type-Options" value="nosniff" />
<add name="Strict-Transport-Security" value="maxage=31536000; includeSubDomains" />
<add name="Strict-Transport-Security" value="max-age=31536000; includeSubDomains" />
</customHeaders>
</httpProtocol>
<handlers>
Expand Down
Expand Up @@ -26,7 +26,7 @@ public override IEnumerator<WebTestRequest> GetRequestEnumerator()
@"X-Frame-Options: deny
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Strict-Transport-Security: maxage=31536000; includeSubDomains");
Strict-Transport-Security: max-age=31536000; includeSubDomains");
homePageRequest.ValidateResponse += new EventHandler<ValidationEventArgs>(homePageTextValidationRule.Validate);
yield return homePageRequest;
homePageRequest = null;
Expand All @@ -38,7 +38,7 @@ public override IEnumerator<WebTestRequest> GetRequestEnumerator()
@"X-Frame-Options: deny
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Strict-Transport-Security: maxage=31536000; includeSubDomains");
Strict-Transport-Security: max-age=31536000; includeSubDomains");
packagesPageRequest.ValidateResponse += new EventHandler<ValidationEventArgs>(packagesPageTextValidationRule.Validate);
yield return packagesPageRequest;
packagesPageRequest = null;
Expand Down

0 comments on commit 5b6fcbf

Please sign in to comment.