|
@@ -422,7 +422,13 @@
|
|
|
url: url
|
|
|
}, function(data){
|
|
|
let xFrameOptions = JSON.parse(data);
|
|
|
- let header = xFrameOptions.header.toLowerCase().trim();
|
|
|
+ let header = "";
|
|
|
+ if (xFrameOptions.header == null){
|
|
|
+ xFrameOptions.header = "deny";
|
|
|
+ }else{
|
|
|
+ header = xFrameOptions.header.toLowerCase().trim();
|
|
|
+ }
|
|
|
+
|
|
|
let location = xFrameOptions.location;
|
|
|
if (header == "null"){
|
|
|
//Site not exists
|