Skip to content
Permalink
Browse files

Remove localhost from the CEF whitelist

  • Loading branch information...
Jusonex committed Jun 30, 2019
1 parent 41927e1 commit 505467ec8c3ac1b3ad17fb0247dc15809e013968
Showing with 1 addition and 1 deletion.
  1. +1 −1 Client/cefweb/CWebCore.cpp
@@ -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"};

0 comments on commit 505467e

Please sign in to comment.
You can’t perform that action at this time.