Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Invalid 'X-Frame-Options' header encountered when loading

How to resolve "Invalid 'X-Frame-Options' header encountered when loading "?!

when i insert the google map in our html code then I am getting the error which is describe in attached image.

when i insert the google map  in our html code then I am getting the  error which is describe in attached image.

like image 935
frooty Avatar asked Apr 22 '13 10:04

frooty


People also ask

How do I set the X-frame-options header?

Double-click the HTTP Response Headers icon in the feature list in the middle. In the Actions pane on the right side, click Add. In the dialog box that appears, type X-Frame-Options in the Name field and type SAMEORIGIN in the Value field. Click OK to save your changes.

How do I enable X frames in chrome?

Enabling X-Frame-Options headerOpen up the Network panel in Chrome DevTools and if your site is using a security header it will show up on the Headers tab. Another quick way to check your security headers is to quickly scan your site with a free tool, securityheaders.io, created by Scott Helme.


1 Answers

You don't control Google's HTTP headers, so you can't (short of getting a job where you do control them) make them use valid options.

like image 185
Quentin Avatar answered Oct 09 '22 10:10

Quentin