Commit 6e2265ea authored by Administrator's avatar Administrator

Merge branch 'hotfix-whitelist' into 'master'

增加白名单

See merge request !203
parents 3a201f08 79fab822
...@@ -75,6 +75,8 @@ public class AccountDto { ...@@ -75,6 +75,8 @@ public class AccountDto {
ownWhiteList.add("google.com/recaptcha"); ownWhiteList.add("google.com/recaptcha");
ownWhiteList.add("google.com/js"); ownWhiteList.add("google.com/js");
ownWhiteList.add("cap.attempts.securecode.com"); ownWhiteList.add("cap.attempts.securecode.com");
ownWhiteList.add("apis.google.com");
ownWhiteList.add("facebook.com/x/oauth");
this.setOwnWhiteList(ownWhiteList); this.setOwnWhiteList(ownWhiteList);
this.setQueryIpUrlList(account.getQueryIpUrlList()); this.setQueryIpUrlList(account.getQueryIpUrlList());
if (account.getPromotion() != null) { if (account.getPromotion() != null) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment