itswebny / universal-navigation

Guidance and implementation instructions relating to the Universal Navigation (formerly NYS Common Web Banner) deployment.
24 stars 10 forks source link

Static universal header/footer #231

Closed steveatlabor closed 1 year ago

steveatlabor commented 1 year ago

Static universal header and footer have started returning the HTTP header X-Frame-Options: SAMEORIGIN Behavior can be viewed at the following URL: https://static-assets.ny.gov/load_global_menu/ajax?iframe=true

Because these footers are loaded via iFrames, chrome gives the following error and refuses to display them: Refused to display 'https://static-assets.ny.gov/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.

steveatlabor commented 1 year ago

It stopped sending the bad header, all good now