You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I guess the idea was to do an undefined check. This is currently messing up using this solution for a different region than us-east-1, because the edge lambda association fails.
I suggest we change it to const _httpSecurityHeaders = httpSecurityHeaders !== undefined ? httpSecurityHeaders : true; or if we need to support pre-es5 const _httpSecurityHeaders = typeof httpSecurityHeaders !== 'undefined' ? httpSecurityHeaders : true;
aws-solutions-constructs/source/patterns/@aws-solutions-constructs/core/lib/cloudfront-distribution-helper.ts
Lines 119 to 125 in ccf819c
The above source code has a bug. No matter what parameter is provided to
httpSecurityHeader
,_httpSecurityHeaders
would betrue
.This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: