Cleanup excess code and gURLProtocolWhitelist, add isWhitelistedProtocol()

# Conflicts:
#	indra/llwindow/llwindowmacosx.cpp
#	indra/llwindow/llwindowsdl2.cpp
This commit is contained in:
Lirusaito
2019-03-19 02:41:31 -04:00
parent 627c0a6b57
commit 45228f920d
5 changed files with 705 additions and 2450 deletions

View File

@@ -290,11 +290,7 @@ public:
//
extern BOOL gDebugWindowProc;
// Protocols, like "http" and "https" we support in URLs
extern const S32 gURLProtocolWhitelistCount;
extern const std::string gURLProtocolWhitelist[];
//extern const std::string gURLProtocolWhitelistHandler[];
bool isWhitelistedProtocol(const std::string& escaped_url);
void simpleEscapeString ( std::string& stringIn );
#endif // _LL_window_h_