How to fix xcode bug “web filter is active”? [dupl

2019-02-09 06:38发布

Hello I am getting this in the log and im not sure what it is and why it is logging this message also does it have any bad affect on my app ?

2017-02-12 20:20:21.222930 goball [760:91949] WF: _userSettingsForUser mobile: {
filterBlacklist =     (
);
filterWhitelist =     (
);
restrictWeb = 1;
useContentFilter = 0;
useContentFilterOverrides = 0;
whitelistEnabled = 0;
}
2017-02-12 20:20:21.223110 goball [760:91949] WF: _WebFilterIsActive returning: NO

1条回答
Root(大扎)
2楼-- · 2019-02-09 07:20

It took me some research to figure out what's going on but what you are running into is Safari 10's "enhanced content security policy" in action.

E.G. you might be loading your page from a remote server via https://, but the page itself requests images via non-encrypted http:// URL's.

See if you can find out what image URL's are being loaded and then add the domains to your App Transport Security exceptions.

查看更多
登录 后发表回答