Skip to content

Commit

Permalink
Remove localhost from the CEF whitelist
Browse files Browse the repository at this point in the history
  • Loading branch information
jushar committed Jun 30, 2019
1 parent 41927e1 commit 505467e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Client/cefweb/CWebCore.cpp
Expand Up @@ -280,7 +280,7 @@ void CWebCore::InitialiseWhiteAndBlacklist(bool bAddHardcoded, bool bAddDynamic)
// Hardcoded whitelist
static SString whitelist[] = {
"google.com", "youtube.com", "www.youtube-nocookie.com", "vimeo.com", "player.vimeo.com", "code.jquery.com", "mtasa.com",
"multitheftauto.com", "mtavc.com", "www.googleapis.com", "ajax.googleapis.com", "localhost", "127.0.0.1"};
"multitheftauto.com", "mtavc.com", "www.googleapis.com", "ajax.googleapis.com"};

// Hardcoded blacklist
static SString blacklist[] = {"nobrain.dk"};
Expand Down

0 comments on commit 505467e

Please sign in to comment.