Skip to content

Commit 466c162

Browse files
committed
Eliminate the use of http:// across whole project
* Needs some testing. If something turns out to not support https and breaks, please file an issue
1 parent f258fb1 commit 466c162

File tree

1,552 files changed

+1697
-1697
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,552 files changed

+1697
-1697
lines changed

Client/ceflauncher_DLL/CCefApp.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class CCefApp : public CefApp, public CefRenderProcessHandler
1919
CCefApp() {}
2020
virtual CefRefPtr<CefRenderProcessHandler> GetRenderProcessHandler() override { return this; };
2121

22-
// http://magpcss.org/ceforum/apidocs3/projects/(default)/CefRenderProcessHandler.html#OnFocusedNodeChanged(CefRefPtr%3CCefBrowser%3E,CefRefPtr%3CCefFrame%3E,CefRefPtr%3CCefDOMNode%3E)
22+
// https://magpcss.org/ceforum/apidocs3/projects/(default)/CefRenderProcessHandler.html#OnFocusedNodeChanged(CefRefPtr%3CCefBrowser%3E,CefRefPtr%3CCefFrame%3E,CefRefPtr%3CCefDOMNode%3E)
2323
virtual void OnFocusedNodeChanged(CefRefPtr<CefBrowser> browser, CefRefPtr<CefFrame> frame, CefRefPtr<CefDOMNode> node) override
2424
{
2525
if (m_bHasInputFocus)
@@ -53,7 +53,7 @@ class CCefApp : public CefApp, public CefRenderProcessHandler
5353
}
5454
}
5555

56-
// http://magpcss.org/ceforum/apidocs3/projects/(default)/CefRenderProcessHandler.html#OnContextCreated(CefRefPtr%3CCefBrowser%3E,CefRefPtr%3CCefFrame%3E,CefRefPtr%3CCefV8Context%3E)
56+
// https://magpcss.org/ceforum/apidocs3/projects/(default)/CefRenderProcessHandler.html#OnContextCreated(CefRefPtr%3CCefBrowser%3E,CefRefPtr%3CCefFrame%3E,CefRefPtr%3CCefV8Context%3E)
5757
// //
5858
virtual void OnContextCreated(CefRefPtr<CefBrowser> browser, CefRefPtr<CefFrame> frame, CefRefPtr<CefV8Context> context) override
5959
{

Client/cefweb/CAjaxResourceHandler.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* FILE: core/AjaxResourceHandler.h
66
* PURPOSE: CEF Handler for Ajax Requests with delayed results
77
*
8-
* Multi Theft Auto is available from http://www.multitheftauto.com/
8+
* Multi Theft Auto is available from https://www.multitheftauto.com/
99
*
1010
*****************************************************************************/
1111
#pragma once

Client/cefweb/CWebApp.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ CefRefPtr<CefResourceHandler> CWebApp::Create(CefRefPtr<CefBrowser> browser, Cef
4646
{
4747
// browser or frame are NULL if the request does not orginate from a browser window
4848
// This is for exmaple true for the application cache or CEFURLRequests
49-
// (http://www.html5rocks.com/en/tutorials/appcache/beginner/)
49+
// (https://www.html5rocks.com/en/tutorials/appcache/beginner/)
5050
if (!browser || !frame)
5151
return nullptr;
5252

@@ -62,7 +62,7 @@ CefRefPtr<CefResourceHandler> CWebApp::Create(CefRefPtr<CefBrowser> browser, Cef
6262
SString host = UTF16ToMbUTF8(urlParts.host.str);
6363
if (scheme_name == "http" && host == "mta")
6464
{
65-
// Scheme format: http://mta/resourceName/file.html or http://mta/local/file.html for the current resource
65+
// Scheme format: https://mta/resourceName/file.html or https://mta/local/file.html for the current resource
6666

6767
// Get resource name and path
6868
SString path = UTF16ToMbUTF8(urlParts.path.str).substr(1); // Remove slash at the front

Client/cefweb/CWebCore.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#include <cef3/cef/include/cef_app.h>
2020
#define MTA_BROWSERDATA_PATH "mta/cef/browserdata.xml"
2121
#define BROWSER_LIST_UPDATE_INTERVAL (24*60*60)
22-
#define BROWSER_UPDATE_URL "http://cef.multitheftauto.com/get.php"
22+
#define BROWSER_UPDATE_URL "https://cef.multitheftauto.com/get.php"
2323
#define GetNextSibling(hwnd) GetWindow(hwnd, GW_HWNDNEXT) // Re-define the conflicting macro
2424
#define GetFirstChild(hwnd) GetTopWindow(hwnd)
2525

Client/cefweb/CWebView.cpp

+20-20
Large diffs are not rendered by default.

Client/cefweb/CefWeb.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* LICENSE: See LICENSE in the top level directory
55
* FILE: CefWeb.cpp
66
*
7-
* Multi Theft Auto is available from http://www.multitheftauto.com/
7+
* Multi Theft Auto is available from https://www.multitheftauto.com/
88
*
99
*****************************************************************************/
1010

Client/core/CAdditionalVertexStreamManager.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* FILE:
66
* PURPOSE:
77
*
8-
* Multi Theft Auto is available from http://www.multitheftauto.com/
8+
* Multi Theft Auto is available from https://www.multitheftauto.com/
99
*
1010
*****************************************************************************/
1111

Client/core/CAdditionalVertexStreamManager.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* FILE:
66
* PURPOSE:
77
*
8-
* Multi Theft Auto is available from http://www.multitheftauto.com/
8+
* Multi Theft Auto is available from https://www.multitheftauto.com/
99
*
1010
*****************************************************************************/
1111

Client/core/CChat.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* FILE: core/CChat.cpp
66
* PURPOSE: In-game chat box user interface implementation
77
*
8-
* Multi Theft Auto is available from http://www.multitheftauto.com/
8+
* Multi Theft Auto is available from https://www.multitheftauto.com/
99
*
1010
*****************************************************************************/
1111

Client/core/CChat.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* FILE: core/CChat.h
66
* PURPOSE: Header file for the chatbox class
77
*
8-
* Multi Theft Auto is available from http://www.multitheftauto.com/
8+
* Multi Theft Auto is available from https://www.multitheftauto.com/
99
*
1010
*****************************************************************************/
1111

Client/core/CClientVariables.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* FILE: core/CClientVariables.cpp
66
* PURPOSE: Managed storage of client variables (cvars)
77
*
8-
* Multi Theft Auto is available from http://www.multitheftauto.com/
8+
* Multi Theft Auto is available from https://www.multitheftauto.com/
99
*
1010
*****************************************************************************/
1111

Client/core/CClientVariables.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* FILE: core/CClientVariables.h
66
* PURPOSE: Header file for client variable class
77
*
8-
* Multi Theft Auto is available from http://www.multitheftauto.com/
8+
* Multi Theft Auto is available from https://www.multitheftauto.com/
99
*
1010
*****************************************************************************/
1111

Client/core/CCommandFuncs.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* FILE: core/CCommandFuncs.cpp
66
* PURPOSE: Implementation of all built-in commands
77
*
8-
* Multi Theft Auto is available from http://www.multitheftauto.com/
8+
* Multi Theft Auto is available from https://www.multitheftauto.com/
99
*
1010
*****************************************************************************/
1111

Client/core/CCommandFuncs.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* FILE: core/CCommandFuncs.h
66
* PURPOSE: Header file for command functionality class
77
*
8-
* Multi Theft Auto is available from http://www.multitheftauto.com/
8+
* Multi Theft Auto is available from https://www.multitheftauto.com/
99
*
1010
*****************************************************************************/
1111

Client/core/CCommands.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* FILE: core/CCommands.cpp
66
* PURPOSE: Management for dynamically added commands
77
*
8-
* Multi Theft Auto is available from http://www.multitheftauto.com/
8+
* Multi Theft Auto is available from https://www.multitheftauto.com/
99
*
1010
*****************************************************************************/
1111

Client/core/CCommands.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* FILE: core/CCommands.h
66
* PURPOSE: Header file for dynamic command manager
77
*
8-
* Multi Theft Auto is available from http://www.multitheftauto.com/
8+
* Multi Theft Auto is available from https://www.multitheftauto.com/
99
*
1010
*****************************************************************************/
1111

Client/core/CCompressorJobQueue.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* FILE: MTA10/core/CCompressorJobQueue.cpp
66
* PURPOSE: Threaded job queue
77
*
8-
* Multi Theft Auto is available from http://www.multitheftauto.com/
8+
* Multi Theft Auto is available from https://www.multitheftauto.com/
99
*
1010
*****************************************************************************/
1111

Client/core/CCompressorJobQueue.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* FILE: MTA10/core/CCompressorJobQueue.h
66
* PURPOSE: Threaded job queue
77
*
8-
* Multi Theft Auto is available from http://www.multitheftauto.com/
8+
* Multi Theft Auto is available from https://www.multitheftauto.com/
99
*
1010
*****************************************************************************/
1111

Client/core/CConnectManager.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* FILE: core/CConnectManager.cpp
66
* PURPOSE: Manager for connecting to servers
77
*
8-
* Multi Theft Auto is available from http://www.multitheftauto.com/
8+
* Multi Theft Auto is available from https://www.multitheftauto.com/
99
*
1010
*****************************************************************************/
1111

@@ -487,7 +487,7 @@ void CConnectManager::OpenServerFirewall(in_addr Address, ushort usHttpPort, boo
487487
SHttpRequestOptions options;
488488
options.uiConnectionAttempts = 1;
489489
options.uiConnectTimeoutMs = uiTimeOut;
490-
SString strDummyUrl("http://%s:%d/mta_client_firewall_probe/", inet_ntoa(Address), usHttpPort);
490+
SString strDummyUrl("https://%s:%d/mta_client_firewall_probe/", inet_ntoa(Address), usHttpPort);
491491
g_pCore->GetNetwork()->GetHTTPDownloadManager(EDownloadMode::CONNECT_TCP_SEND)->QueueFile(strDummyUrl, NULL, NULL, NULL, options);
492492
}
493493
if (usHttpPort == 0 || bHighPriority)
@@ -496,7 +496,7 @@ void CConnectManager::OpenServerFirewall(in_addr Address, ushort usHttpPort, boo
496496
SHttpRequestOptions options;
497497
options.uiConnectionAttempts = 1;
498498
options.uiConnectTimeoutMs = uiTimeOut;
499-
SString strDummyUrl("http://%s/mta_client_firewall_probe/", inet_ntoa(Address));
499+
SString strDummyUrl("https://%s/mta_client_firewall_probe/", inet_ntoa(Address));
500500
g_pCore->GetNetwork()->GetHTTPDownloadManager(EDownloadMode::CONNECT_TCP_SEND)->QueueFile(strDummyUrl, NULL, NULL, NULL, options);
501501
}
502502
}

Client/core/CConnectManager.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* FILE: core/CConnectManager.h
66
* PURPOSE: Header file for connect manager
77
*
8-
* Multi Theft Auto is available from http://www.multitheftauto.com/
8+
* Multi Theft Auto is available from https://www.multitheftauto.com/
99
*
1010
*****************************************************************************/
1111

Client/core/CConsole.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* FILE: core/CConsole.cpp
66
* PURPOSE: In-game console implementation
77
*
8-
* Multi Theft Auto is available from http://www.multitheftauto.com/
8+
* Multi Theft Auto is available from https://www.multitheftauto.com/
99
*
1010
*****************************************************************************/
1111

Client/core/CConsole.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* FILE: core/CConsole.h
66
* PURPOSE: Header file for console class
77
*
8-
* Multi Theft Auto is available from http://www.multitheftauto.com/
8+
* Multi Theft Auto is available from https://www.multitheftauto.com/
99
*
1010
*****************************************************************************/
1111

Client/core/CConsoleLogger.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* FILE: core/CConsoleLogger.cpp
66
* PURPOSE: Console Logging functionality
77
*
8-
* Multi Theft Auto is available from http://www.multitheftauto.com/
8+
* Multi Theft Auto is available from https://www.multitheftauto.com/
99
*
1010
*****************************************************************************/
1111

Client/core/CConsoleLogger.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* FILE: core/CConsoleLogger.h
66
* PURPOSE: Header file for console logger class
77
*
8-
* Multi Theft Auto is available from http://www.multitheftauto.com/
8+
* Multi Theft Auto is available from https://www.multitheftauto.com/
99
*
1010
*****************************************************************************/
1111

Client/core/CCore.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* FILE: core/CCore.cpp
66
* PURPOSE: Base core class
77
*
8-
* Multi Theft Auto is available from http://www.multitheftauto.com/
8+
* Multi Theft Auto is available from https://www.multitheftauto.com/
99
*
1010
*****************************************************************************/
1111

Client/core/CCore.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* FILE: core/CCore.h
66
* PURPOSE: Header file for base core class
77
*
8-
* Multi Theft Auto is available from http://www.multitheftauto.com/
8+
* Multi Theft Auto is available from https://www.multitheftauto.com/
99
*
1010
*****************************************************************************/
1111

Client/core/CCrashDumpWriter.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* FILE: core/CCrashDumpWriter.cpp
66
* PURPOSE:
77
*
8-
* Multi Theft Auto is available from http://www.multitheftauto.com/
8+
* Multi Theft Auto is available from https://www.multitheftauto.com/
99
*
1010
*****************************************************************************/
1111

Client/core/CCrashDumpWriter.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* FILE:
66
* PURPOSE:
77
*
8-
* Multi Theft Auto is available from http://www.multitheftauto.com/
8+
* Multi Theft Auto is available from https://www.multitheftauto.com/
99
*
1010
*****************************************************************************/
1111

Client/core/CCredits.cpp

+5-5
Original file line numberDiff line numberDiff line change
@@ -269,9 +269,9 @@ CCredits::CCredits()
269269
"BASS (https://www.un4seen.com/bass.html)\n"
270270
"bcrypt (https://www.openwall.com/crypt/)\n"
271271
"breakpad (https://chromium.googlesource.com/breakpad/breakpad/)\n"
272-
"bzip2 (http://www.bzip.org/)\n"
272+
"bzip2 (https://www.bzip.org/)\n"
273273
"CEF (https://bitbucket.org/chromiumembedded/cef/)\n"
274-
"CEGUI (http://cegui.org.uk/)\n"
274+
"CEGUI (https://cegui.org.uk/)\n"
275275
"Cloudflare (https://www.cloudflare.com/)\n"
276276
"CRC-32 (https://bochs.sourceforge.io/)\n"
277277
"Crowdin (https://crowdin.com/)\n"
@@ -290,7 +290,7 @@ CCredits::CCredits()
290290
"ksignals (https://github.com/xforce/ksignals)\n"
291291
"libjpeg (https://libjpeg.sourceforge.net/)\n"
292292
"libpcre (https://www.pcre.org/)\n"
293-
"libpng (http://www.libpng.org/)\n"
293+
"libpng (https://www.libpng.org/)\n"
294294
"Lua (https://www.lua.org/)\n"
295295
"lunasvg (https://github.com/sammycage/lunasvg)\n"
296296
"mbedtls (https://github.com/Mbed-TLS/mbedtls)\n"
@@ -300,9 +300,9 @@ CCredits::CCredits()
300300
"nvapi (https://developer.nvidia.com/rtx/path-tracing/nvapi/get-started)\n"
301301
"Open Collective (https://opencollective.com/)\n"
302302
"pme by Zac Hansen\n"
303-
"PortAudio (http://www.portaudio.com/)\n"
303+
"PortAudio (https://www.portaudio.com/)\n"
304304
"pthreads-win32 (https://sourceware.org/pthreads-win32/)\n"
305-
"RakNet (http://www.jenkinssoftware.com/)\n"
305+
"RakNet (https://www.jenkinssoftware.com/)\n"
306306
"SA Limit adjuster source code (Credits to Sacky)\n"
307307
"sparsehash (https://github.com/sparsehash/sparsehash)\n"
308308
"speex (https://www.speex.org/)\n"

Client/core/CCredits.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* FILE: core/CCredits.h
66
* PURPOSE: Header file for credits class
77
*
8-
* Multi Theft Auto is available from http://www.multitheftauto.com/
8+
* Multi Theft Auto is available from https://www.multitheftauto.com/
99
*
1010
*****************************************************************************/
1111

Client/core/CDebugView.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* FILE: core/CDebugView.cpp
66
* PURPOSE: In-game debug view window implementation
77
*
8-
* Multi Theft Auto is available from http://www.multitheftauto.com/
8+
* Multi Theft Auto is available from https://www.multitheftauto.com/
99
*
1010
*****************************************************************************/
1111

Client/core/CDebugView.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* FILE: core/CDebugView.h
66
* PURPOSE: Header file for debug view class
77
*
8-
* Multi Theft Auto is available from http://www.multitheftauto.com/
8+
* Multi Theft Auto is available from https://www.multitheftauto.com/
99
*
1010
*****************************************************************************/
1111

Client/core/CDiscordRichPresence.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* FILE: core/CDiscordRichPresence.cpp
66
* PURPOSE: Discord rich presence implementation
77
*
8-
* Multi Theft Auto is available from http://www.multitheftauto.com/
8+
* Multi Theft Auto is available from https://www.multitheftauto.com/
99
*
1010
*****************************************************************************/
1111

Client/core/CDiscordRichPresence.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* FILE: core/CDiscordRichPresence.h
66
* PURPOSE: Header file for discord rich presence
77
*
8-
* Multi Theft Auto is available from http://www.multitheftauto.com/
8+
* Multi Theft Auto is available from https://www.multitheftauto.com/
99
*
1010
*****************************************************************************/
1111
#pragma once

Client/core/CEntryHistory.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* FILE: core/CEntryHistory.cpp
66
* PURPOSE: Maintaining the history of whatever
77
*
8-
* Multi Theft Auto is available from http://www.multitheftauto.com/
8+
* Multi Theft Auto is available from https://www.multitheftauto.com/
99
*
1010
*****************************************************************************/
1111

Client/core/CEntryHistory.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* FILE: core/CEntryHistory.h
66
* PURPOSE: Header file for the entry history class
77
*
8-
* Multi Theft Auto is available from http://www.multitheftauto.com/
8+
* Multi Theft Auto is available from https://www.multitheftauto.com/
99
*
1010
*****************************************************************************/
1111

Client/core/CExceptionInformation_Impl.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* FILE: core/CExceptionInformation_Impl.cpp
66
* PURPOSE: Exception information parser
77
*
8-
* Multi Theft Auto is available from http://www.multitheftauto.com/
8+
* Multi Theft Auto is available from https://www.multitheftauto.com/
99
*
1010
*****************************************************************************/
1111

Client/core/CExceptionInformation_Impl.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* FILE: core/CExceptionInformation_Impl.h
66
* PURPOSE: Header file for exception information parser class
77
*
8-
* Multi Theft Auto is available from http://www.multitheftauto.com/
8+
* Multi Theft Auto is available from https://www.multitheftauto.com/
99
*
1010
*****************************************************************************/
1111

0 commit comments

Comments
 (0)