diff --git a/src/game/client/econ/backpack_panel.cpp b/src/game/client/econ/backpack_panel.cpp index ae12623cb..767a37f9f 100644 --- a/src/game/client/econ/backpack_panel.cpp +++ b/src/game/client/econ/backpack_panel.cpp @@ -3331,7 +3331,7 @@ void CBackpackPanel::DoSellMarketplace() } uint32 nAssetContext = 2; // k_EEconContextBackpack char szURL[512]; - V_snprintf( szURL, sizeof(szURL), "http://%ssteamcommunity.com/my/inventory/?sellOnLoad=1#%d_%d_%llu", pszPrefix, engine->GetAppID(), nAssetContext, pItem->GetItemID() ); + V_snprintf( szURL, sizeof(szURL), "https://%ssteamcommunity.com/my/inventory/?sellOnLoad=1#%d_%d_%llu", pszPrefix, engine->GetAppID(), nAssetContext, pItem->GetItemID() ); steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( szURL ); } } @@ -4046,7 +4046,7 @@ void CBackpackPanel::AttemptToShowItemInMarket( item_definition_index_t iItemDef g_pVGuiLocalize->ConvertUnicodeToANSI( g_pVGuiLocalize->Find( pItemDef->GetItemBaseName() ), pszItemName, sizeof( pszItemName ) ); char szURL[512]; - V_snprintf( szURL, sizeof( szURL ), "http://%ssteamcommunity.com/market/listings/%d/%s", pszPrefix, engine->GetAppID(), pszItemName ); + V_snprintf( szURL, sizeof( szURL ), "https://%ssteamcommunity.com/market/listings/%d/%s", pszPrefix, engine->GetAppID(), pszItemName ); steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( szURL ); } } diff --git a/src/game/client/econ/econ_trading.cpp b/src/game/client/econ/econ_trading.cpp index 3fb532b25..d81a0f264 100644 --- a/src/game/client/econ/econ_trading.cpp +++ b/src/game/client/econ/econ_trading.cpp @@ -544,7 +544,7 @@ const char* UniverseToCommunityURL( EUniverse universe ) default: // return public if we don't have a better guess. case k_EUniversePublic: return "https://steamcommunity.com"; case k_EUniverseBeta: return "https://beta.steamcommunity.com"; - case k_EUniverseDev: return "https://localhost/community"; + case k_EUniverseDev: return "http://localhost/community"; } // Should never get here. diff --git a/src/game/client/econ/item_model_panel.cpp b/src/game/client/econ/item_model_panel.cpp index 558805a20..bad2926b7 100644 --- a/src/game/client/econ/item_model_panel.cpp +++ b/src/game/client/econ/item_model_panel.cpp @@ -3712,7 +3712,7 @@ void CItemModelPanel::OnCommand( const char *command ) } uint32 nAssetContext = 2; // k_EEconContextBackpack char szURL[512]; - V_snprintf( szURL, sizeof(szURL), "http://%ssteamcommunity.com/my/inventory/?sellOnLoad=1#%d_%d_%llu", pszPrefix, engine->GetAppID(), nAssetContext, GetItem()->GetItemID() ); + V_snprintf( szURL, sizeof(szURL), "https://%ssteamcommunity.com/my/inventory/?sellOnLoad=1#%d_%d_%llu", pszPrefix, engine->GetAppID(), nAssetContext, GetItem()->GetItemID() ); steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( szURL ); } } diff --git a/src/game/client/econ/store/store_page.cpp b/src/game/client/econ/store/store_page.cpp index dfd1ead15..acb43c4b7 100644 --- a/src/game/client/econ/store/store_page.cpp +++ b/src/game/client/econ/store/store_page.cpp @@ -1232,7 +1232,7 @@ void CStorePage::OnCommand( const char *command ) { if ( steamapicontext && steamapicontext->SteamFriends() ) { - steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( "http://steamcommunity.com/market/search?appid=440" ); + steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( "https://steamcommunity.com/market/search?appid=440" ); } return; } diff --git a/src/game/client/econ/store/store_panel.cpp b/src/game/client/econ/store/store_panel.cpp index 48b1f1edd..0c16def66 100644 --- a/src/game/client/econ/store/store_panel.cpp +++ b/src/game/client/econ/store/store_panel.cpp @@ -1642,7 +1642,7 @@ void CStoreCart::AddToCart( const econ_store_entry_t *pEntry, const char* pszPag g_pVGuiLocalize->ConvertUnicodeToANSI( g_pVGuiLocalize->Find( pItemDef->GetItemBaseName() ), pszItemName, sizeof( pszItemName ) ); char szURL[512]; - V_sprintf_safe( szURL, "http://%ssteamcommunity.com/market/listings/%d/%s", pszPrefix, engine->GetAppID(), pszItemName ); + V_sprintf_safe( szURL, "https://%ssteamcommunity.com/market/listings/%d/%s", pszPrefix, engine->GetAppID(), pszItemName ); steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( szURL ); } return; diff --git a/src/game/client/econ/trading_start_dialog.cpp b/src/game/client/econ/trading_start_dialog.cpp index c638d8f6c..d7878f22f 100644 --- a/src/game/client/econ/trading_start_dialog.cpp +++ b/src/game/client/econ/trading_start_dialog.cpp @@ -290,7 +290,7 @@ bool CTradingStartDialog::ExtractSteamIDFromURL( char *inputURL ) int iLen = Q_strlen(inputURL); // First, see if it's a profile link. If it is, clip the SteamID from it. - const char *pszProfilePrepend = ( localUniverse == k_EUniversePublic ) ? "http://steamcommunity.com/profiles/" : "http://beta.steamcommunity.com/profiles/"; + const char *pszProfilePrepend = ( localUniverse == k_EUniversePublic ) ? "https://steamcommunity.com/profiles/" : "https://beta.steamcommunity.com/profiles/"; int iProfilePrependLen = Q_strlen(pszProfilePrepend); if ( Q_strnicmp( pszProfilePrepend, inputURL, iProfilePrependLen ) == 0 ) { @@ -308,7 +308,7 @@ bool CTradingStartDialog::ExtractSteamIDFromURL( char *inputURL ) else { // If it's an id link, we download it and extract the steam ID from it. - const char *pszIDPrepend = ( localUniverse == k_EUniversePublic ) ? "http://steamcommunity.com/id/" : "http://beta.steamcommunity.com/id/"; + const char *pszIDPrepend = ( localUniverse == k_EUniversePublic ) ? "https://steamcommunity.com/id/" : "https://beta.steamcommunity.com/id/"; int iIDPrependLen = Q_strlen(pszIDPrepend); if ( Q_strnicmp( pszIDPrepend, inputURL, iIDPrependLen ) == 0 ) { diff --git a/src/game/client/replay/replayyoutubeapi.cpp b/src/game/client/replay/replayyoutubeapi.cpp index bebb4d44e..830b6f328 100644 --- a/src/game/client/replay/replayyoutubeapi.cpp +++ b/src/game/client/replay/replayyoutubeapi.cpp @@ -354,7 +354,7 @@ public: { if ( steamapicontext && steamapicontext->SteamFriends() ) { - steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( "http://www.youtube.com/create_account?next=/" ); + steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( "https://www.youtube.com/create_account?next=/" ); } } else if ( !Q_strnicmp( command, "confirm", 7 ) ) @@ -488,7 +488,7 @@ public: { if ( steamapicontext && steamapicontext->SteamFriends() ) { - steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( "http://www.youtube.com/t/terms" ); + steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( "https://www.youtube.com/t/terms" ); } } else if ( !Q_strnicmp( command, "confirm", 7 ) ) @@ -521,18 +521,18 @@ public: CUtlString description( szDesc ); if ( steamapicontext && steamapicontext->SteamUser() ) { - const char *pchCommunityURL = "http://steamcommunity.com/"; + const char *pchCommunityURL = "https://steamcommunity.com/"; switch ( eSteamUniverse ) { case k_EUniverseDev: pchCommunityURL = "http://localhost/community/"; break; case k_EUniverseBeta: - pchCommunityURL = "http://beta.steamcommunity.com/"; + pchCommunityURL = "https://beta.steamcommunity.com/"; break; case k_EUniversePublic: default: - pchCommunityURL = "http://steamcommunity.com/"; + pchCommunityURL = "https://steamcommunity.com/"; } description.Format( "%s\n\n%sprofiles/%llu", szDesc, pchCommunityURL, steamapicontext->SteamUser()->GetSteamID().ConvertToUint64() ); } diff --git a/src/game/client/steampublishedfiles/publish_file_dialog.cpp b/src/game/client/steampublishedfiles/publish_file_dialog.cpp index 2939bc0e5..8594cc3c3 100644 --- a/src/game/client/steampublishedfiles/publish_file_dialog.cpp +++ b/src/game/client/steampublishedfiles/publish_file_dialog.cpp @@ -561,10 +561,10 @@ void CFilePublishDialog::Steam_OnPublishFile( SubmitItemUpdateResult_t *pResult, switch ( universe ) { case k_EUniversePublic: - steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( CFmtStrMax( "http://steamcommunity.com/sharedfiles/filedetails/?id=%llu&requirelogin=true", m_nFileID ) ); + steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( CFmtStrMax( "https://steamcommunity.com/sharedfiles/filedetails/?id=%llu&requirelogin=true", m_nFileID ) ); break; case k_EUniverseBeta: - steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( CFmtStrMax( "http://beta.steamcommunity.com/sharedfiles/filedetails/?id=%llu&requirelogin=true", m_nFileID ) ); + steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( CFmtStrMax( "https://beta.steamcommunity.com/sharedfiles/filedetails/?id=%llu&requirelogin=true", m_nFileID ) ); break; case k_EUniverseDev: steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( CFmtStrMax( "http://localhost/community/sharedfiles/filedetails/?id=%llu&requirelogin=true", m_nFileID ) ); diff --git a/src/game/client/tf/tf_hud_mainmenuoverride.cpp b/src/game/client/tf/tf_hud_mainmenuoverride.cpp index f7828cb2f..9a2bf0a35 100644 --- a/src/game/client/tf/tf_hud_mainmenuoverride.cpp +++ b/src/game/client/tf/tf_hud_mainmenuoverride.cpp @@ -1936,8 +1936,8 @@ void CHudMainMenuOverride::OnCommand( const char *command ) CSteamID steamID = steamapicontext->SteamUser()->GetSteamID(); switch ( GetUniverse() ) { - case k_EUniversePublic: steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( CFmtStr1024( "http://steamcommunity.com/profiles/%llu/promocodes/tf2", steamID.ConvertToUint64() ) ); break; - case k_EUniverseBeta: steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( CFmtStr1024( "http://beta.steamcommunity.com/profiles/%llu/promocodes/tf2", steamID.ConvertToUint64() ) ); break; + case k_EUniversePublic: steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( CFmtStr1024( "https://steamcommunity.com/profiles/%llu/promocodes/tf2", steamID.ConvertToUint64() ) ); break; + case k_EUniverseBeta: steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( CFmtStr1024( "https://beta.steamcommunity.com/profiles/%llu/promocodes/tf2", steamID.ConvertToUint64() ) ); break; case k_EUniverseDev: steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( CFmtStr1024( "http://localhost/community/profiles/%llu/promocodes/tf2", steamID.ConvertToUint64() ) ); break; } } @@ -1974,9 +1974,10 @@ void CHudMainMenuOverride::OnCommand( const char *command ) CSteamID steamID = steamapicontext->SteamUser()->GetSteamID(); switch ( GetUniverse() ) { - case k_EUniversePublic: steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( "http://www.teamfortress.com/meetyourmatch" ); break; + case k_EUniversePublic: steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( "https://www.teamfortress.com/meetyourmatch" ); break; case k_EUniverseBeta: // Fall through - case k_EUniverseDev: steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( "http://csham.valvesoftware.com/tf.com/meetyourmatch" ); break; + // TODO: Dead link, need to fix. + case k_EUniverseDev: steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( "https://csham.valvesoftware.com/tf.com/meetyourmatch" ); break; } } else @@ -1992,9 +1993,9 @@ void CHudMainMenuOverride::OnCommand( const char *command ) CSteamID steamID = steamapicontext->SteamUser()->GetSteamID(); switch ( GetUniverse() ) { - case k_EUniversePublic: steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( "http://www.teamfortress.com/gargoyles_and_gravel" ); break; + case k_EUniversePublic: steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( "https://www.teamfortress.com/gargoyles_and_gravel" ); break; case k_EUniverseBeta: // Fall through - case k_EUniverseDev: steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( "http://www.teamfortress.com/gargoyles_and_gravel" ); break; + case k_EUniverseDev: steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( "https://www.teamfortress.com/gargoyles_and_gravel" ); break; } } else diff --git a/src/game/client/tf/tf_streams.cpp b/src/game/client/tf/tf_streams.cpp index 1b7797c36..3da393b38 100644 --- a/src/game/client/tf/tf_streams.cpp +++ b/src/game/client/tf/tf_streams.cpp @@ -531,7 +531,7 @@ void CTFStreamManager::UpdateTwitchTvAccounts() // // If we ever end up using this we'll need to update to the most recent API. v3 of the API (which we were using for this) // is being shut down. It's not currently being used so I'm just going to comment it out for now. - //m_hHTTPRequestHandleTwitchTv = steamapicontext->SteamHTTP()->CreateHTTPRequest( k_EHTTPMethodGET, CFmtStr( "http://api.twitch.tv/api/steam/%llu", m_pLoadingAccount->m_uiSteamID ) ); + //m_hHTTPRequestHandleTwitchTv = steamapicontext->SteamHTTP()->CreateHTTPRequest( k_EHTTPMethodGET, CFmtStr( "https://api.twitch.tv/api/steam/%llu", m_pLoadingAccount->m_uiSteamID ) ); //steamapicontext->SteamHTTP()->SetHTTPRequestHeaderValue( m_hHTTPRequestHandleTwitchTv, "Accept", cl_streams_request_accept.GetString() ); DevMsg( "Requesting twitch.tv account link...\n" ); diff --git a/src/game/client/tf/vgui/charinfo_armory_subpanel.cpp b/src/game/client/tf/vgui/charinfo_armory_subpanel.cpp index 1532fefdf..10ac4e8ab 100644 --- a/src/game/client/tf/vgui/charinfo_armory_subpanel.cpp +++ b/src/game/client/tf/vgui/charinfo_armory_subpanel.cpp @@ -366,7 +366,7 @@ void CArmoryPanel::OnCommand( const char *command ) ELanguage iLang = PchLanguageToELanguage( uilanguage ); char szURL[512]; - Q_snprintf( szURL, sizeof(szURL), "http://wiki.teamfortress.com/scripts/itemredirect.php?id=%d&lang=%s", m_SelectedItem.GetItemDefIndex(), GetLanguageICUName( iLang ) ); + Q_snprintf( szURL, sizeof(szURL), "https://wiki.teamfortress.com/scripts/itemredirect.php?id=%d&lang=%s", m_SelectedItem.GetItemDefIndex(), GetLanguageICUName( iLang ) ); steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( szURL ); C_CTF_GameStats.Event_Catalog( IE_ARMORY_BROWSE_WIKI, NULL, &m_SelectedItem ); diff --git a/src/game/client/tf/vgui/crafting_panel.cpp b/src/game/client/tf/vgui/crafting_panel.cpp index 71372435c..9309c68c8 100644 --- a/src/game/client/tf/vgui/crafting_panel.cpp +++ b/src/game/client/tf/vgui/crafting_panel.cpp @@ -1629,7 +1629,7 @@ private: { if ( steamapicontext && steamapicontext->SteamFriends() ) { - steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( "http://www.teamfortress.com/saxxyawards/winners.php" ); + steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( "https://www.teamfortress.com/saxxyawards/winners.php" ); } MarkForDeletion(); } diff --git a/src/game/client/tf/vgui/item_ad_panel.cpp b/src/game/client/tf/vgui/item_ad_panel.cpp index 60bd16a73..e24c1fb3f 100644 --- a/src/game/client/tf/vgui/item_ad_panel.cpp +++ b/src/game/client/tf/vgui/item_ad_panel.cpp @@ -276,7 +276,7 @@ void CItemAdPanel::OnCommand( const char *command ) g_pVGuiLocalize->ConvertUnicodeToANSI( g_pVGuiLocalize->Find ( pItemDef->GetItemBaseName() ) , pszItemName, sizeof(pszItemName) ); char szURL[512]; - V_snprintf( szURL, sizeof(szURL), "http://%ssteamcommunity.com/market/listings/%d/%s", pszPrefix, engine->GetAppID(), pszItemName ); + V_snprintf( szURL, sizeof(szURL), "https://%ssteamcommunity.com/market/listings/%d/%s", pszPrefix, engine->GetAppID(), pszItemName ); steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( szURL ); } } diff --git a/src/game/client/tf/vgui/store/v2/tf_store_preview_item2.cpp b/src/game/client/tf/vgui/store/v2/tf_store_preview_item2.cpp index bb4a5a5ec..0b57ecb6b 100644 --- a/src/game/client/tf/vgui/store/v2/tf_store_preview_item2.cpp +++ b/src/game/client/tf/vgui/store/v2/tf_store_preview_item2.cpp @@ -768,7 +768,7 @@ void CTFStorePreviewItemPanel2::OnCommand( const char *command ) ELanguage iLang = PchLanguageToELanguage( uilanguage ); char szURL[512]; - Q_snprintf( szURL, sizeof(szURL), "http://wiki.teamfortress.com/scripts/itemredirect.php?id=%d&lang=%s", pItem->GetItemDefIndex(), GetLanguageICUName( iLang ) ); + Q_snprintf( szURL, sizeof(szURL), "https://wiki.teamfortress.com/scripts/itemredirect.php?id=%d&lang=%s", pItem->GetItemDefIndex(), GetLanguageICUName( iLang ) ); steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( szURL ); C_CTF_GameStats.Event_Catalog( IE_ARMORY_BROWSE_WIKI, NULL, pItem ); diff --git a/src/game/client/tf/vgui/tf_item_inspection_panel.cpp b/src/game/client/tf/vgui/tf_item_inspection_panel.cpp index 443a81a5a..4279adcdc 100644 --- a/src/game/client/tf/vgui/tf_item_inspection_panel.cpp +++ b/src/game/client/tf/vgui/tf_item_inspection_panel.cpp @@ -301,7 +301,7 @@ void CTFItemInspectionPanel::OnCommand( const char *command ) CEconItemLocalizedMarketNameGenerator generator( GLocalizationProvider(), m_pItemViewData ); char szURL[512]; - V_snprintf( szURL, sizeof(szURL), "http://%ssteamcommunity.com/market/listings/%d/%s", pszPrefix, engine->GetAppID(), CStrAutoEncode( generator.GetFullName() ).ToString() ); + V_snprintf( szURL, sizeof(szURL), "https://%ssteamcommunity.com/market/listings/%d/%s", pszPrefix, engine->GetAppID(), CStrAutoEncode( generator.GetFullName() ).ToString() ); steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( szURL ); } diff --git a/src/game/client/tf/vgui/tf_warinfopanel.cpp b/src/game/client/tf/vgui/tf_warinfopanel.cpp index c766ffb78..2e26e88d9 100644 --- a/src/game/client/tf/vgui/tf_warinfopanel.cpp +++ b/src/game/client/tf/vgui/tf_warinfopanel.cpp @@ -278,7 +278,7 @@ void CWarLandingPanel::OnCommand( const char *pCommand ) } else if ( FStrEq( "view_update_comic", pCommand ) ) { - const char* pszComicURL = "http://www.teamfortress.com/theshowdown/"; + const char* pszComicURL = "https://www.teamfortress.com/theshowdown/"; if ( steamapicontext && steamapicontext->SteamFriends() && steamapicontext->SteamUtils() && steamapicontext->SteamUtils()->IsOverlayEnabled() ) { diff --git a/src/game/client/tf/workshop/published_files.cpp b/src/game/client/tf/workshop/published_files.cpp index 5240c3e6e..43d3eb151 100644 --- a/src/game/client/tf/workshop/published_files.cpp +++ b/src/game/client/tf/workshop/published_files.cpp @@ -206,10 +206,10 @@ void CPublishedFiles::ViewPublishedFile( uint64 nPublishedFileID ) switch ( universe ) { case k_EUniversePublic: - steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( CFmtStrMax( "http://steamcommunity.com/sharedfiles/filedetails/?id=%llu", nPublishedFileID ) ); + steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( CFmtStrMax( "https://steamcommunity.com/sharedfiles/filedetails/?id=%llu", nPublishedFileID ) ); break; case k_EUniverseBeta: - steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( CFmtStrMax( "http://beta.steamcommunity.com/sharedfiles/filedetails/?id=%llu", nPublishedFileID ) ); + steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( CFmtStrMax( "https://beta.steamcommunity.com/sharedfiles/filedetails/?id=%llu", nPublishedFileID ) ); break; case k_EUniverseDev: steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( CFmtStrMax( COMMUNITY_DEV_HOST "sharedfiles/filedetails/?id=%llu", nPublishedFileID ) ); @@ -1163,7 +1163,7 @@ public: } else if ( FStrEq( pCommand, "learn_more" ) ) { - steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( "http://www.teamfortress.com/contribute/" ); + steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( "https://www.teamfortress.com/contribute/" ); } else if ( FStrEq( pCommand, "view_files" ) ) { @@ -1172,10 +1172,10 @@ public: switch ( universe ) { case k_EUniversePublic: - steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( CFmtStrMax( "http://steamcommunity.com/profiles/%llu/mysharedfiles/", ulSteamID ) ); + steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( CFmtStrMax( "https://steamcommunity.com/profiles/%llu/mysharedfiles/", ulSteamID ) ); break; case k_EUniverseBeta: - steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( CFmtStrMax( "http://beta.steamcommunity.com/profiles/%llu/mysharedfiles/", ulSteamID ) ); + steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( CFmtStrMax( "https://beta.steamcommunity.com/profiles/%llu/mysharedfiles/", ulSteamID ) ); break; case k_EUniverseDev: steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( CFmtStrMax( COMMUNITY_DEV_HOST "profiles/%llu/mysharedfiles/", ulSteamID ) ); @@ -1188,10 +1188,10 @@ public: switch ( universe ) { case k_EUniversePublic: - steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( CFmtStrMax( "http://steamcommunity.com/workshop/workshoplegalagreement/?appid=%d", engine->GetAppID() ) ); + steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( CFmtStrMax( "https://steamcommunity.com/workshop/workshoplegalagreement/?appid=%d", engine->GetAppID() ) ); break; case k_EUniverseBeta: - steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( CFmtStrMax( "http://beta.steamcommunity.com/workshop/workshoplegalagreement/?appid=%d", engine->GetAppID() ) ); + steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( CFmtStrMax( "https://beta.steamcommunity.com/workshop/workshoplegalagreement/?appid=%d", engine->GetAppID() ) ); break; case k_EUniverseDev: steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( CFmtStrMax( COMMUNITY_DEV_HOST "workshop/workshoplegalagreement/?appid=%d", engine->GetAppID() ) ); @@ -1204,10 +1204,10 @@ public: switch ( universe ) { case k_EUniversePublic: - steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( CFmtStrMax( "http://steamcommunity.com/workshop/browse?appid=%d", engine->GetAppID() ) ); + steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( CFmtStrMax( "https://steamcommunity.com/workshop/browse?appid=%d", engine->GetAppID() ) ); break; case k_EUniverseBeta: - steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( CFmtStrMax( "http://beta.steamcommunity.com/workshop/browse?appid=%d", engine->GetAppID() ) ); + steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( CFmtStrMax( "https://beta.steamcommunity.com/workshop/browse?appid=%d", engine->GetAppID() ) ); break; case k_EUniverseDev: steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( CFmtStrMax( COMMUNITY_DEV_HOST "workshop/browse?appid=%d", engine->GetAppID() ) ); @@ -1461,10 +1461,10 @@ protected: switch ( universe ) { case k_EUniversePublic: - steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( CFmtStrMax( "http://steamcommunity.com/sharedfiles/filedetails/?id=%llu", nPublishedFileID ) ); + steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( CFmtStrMax( "https://steamcommunity.com/sharedfiles/filedetails/?id=%llu", nPublishedFileID ) ); break; case k_EUniverseBeta: - steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( CFmtStrMax( "http://beta.steamcommunity.com/sharedfiles/filedetails/?id=%llu", nPublishedFileID ) ); + steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( CFmtStrMax( "https://beta.steamcommunity.com/sharedfiles/filedetails/?id=%llu", nPublishedFileID ) ); break; case k_EUniverseDev: steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( CFmtStrMax( COMMUNITY_DEV_HOST "sharedfiles/filedetails/?id=%llu", nPublishedFileID ) ); diff --git a/src/game/client/youtubeapi.cpp b/src/game/client/youtubeapi.cpp index c10422147..4f3937433 100644 --- a/src/game/client/youtubeapi.cpp +++ b/src/game/client/youtubeapi.cpp @@ -253,11 +253,11 @@ private: virtual JobStatus_t DoExecute() { - HTTPRequestHandle hRequest = GetISteamHTTP()->CreateHTTPRequest( k_EHTTPMethodGET, "http://gdata.youtube.com/feeds/api/users/default" ); + HTTPRequestHandle hRequest = GetISteamHTTP()->CreateHTTPRequest( k_EHTTPMethodGET, "https://gdata.youtube.com/feeds/api/users/default" ); GetISteamHTTP()->SetHTTPRequestNetworkActivityTimeout( hRequest, 30 ); GetISteamHTTP()->SetHTTPRequestHeaderValue( hRequest, "Authorization", CFmtStr1024( "GoogleLogin auth=%s", gYouTube.GetAuthToken() ) ); - DoRequest( hRequest, "http://gdata.youtube.com/feeds/api/users/default" ); + DoRequest( hRequest, "https://gdata.youtube.com/feeds/api/users/default" ); return JOB_OK; } @@ -440,7 +440,7 @@ private: { m_bAllowRequestFailure = true; - HTTPRequestHandle hRequest = GetISteamHTTP()->CreateHTTPRequest( k_EHTTPMethodPUT, "http://uploads.gdata.youtube.com/feeds/api/users/default/uploads" ); + HTTPRequestHandle hRequest = GetISteamHTTP()->CreateHTTPRequest( k_EHTTPMethodPUT, "https://uploads.gdata.youtube.com/feeds/api/users/default/uploads" ); GetISteamHTTP()->SetHTTPRequestNetworkActivityTimeout( hRequest, 30 ); const char *pFileName = Q_UnqualifiedFileName( m_strFilePath.Get() ); @@ -520,7 +520,7 @@ private: GetISteamHTTP()->SetHTTPRequestRawPostBody( hRequest, "multipart/form-data;boundary=-x", (uint8 *)postDataRaw.Base(), postDataRaw.TellPut() ); // BUGBUG: use SendHTTPRequestAndStreamResponse - DoRequest( hRequest, "http://uploads.gdata.youtube.com/feeds/api/users/default/uploads" ); + DoRequest( hRequest, "https://uploads.gdata.youtube.com/feeds/api/users/default/uploads" ); } return JOB_OK; @@ -823,7 +823,7 @@ bool CYouTubeSystem::GetProfileURL( CUtlString &strProfileURL ) const { if ( m_eLoginStatus == kYouTubeLogin_LoggedIn ) { - strProfileURL = CFmtStr1024( "http://www.youtube.com/profile?user=%s", m_strYouTubeUserName.Get() ); + strProfileURL = CFmtStr1024( "https://www.youtube.com/profile?user=%s", m_strYouTubeUserName.Get() ); return true; } return false; diff --git a/src/game/shared/econ/econ_item_system.cpp b/src/game/shared/econ/econ_item_system.cpp index aa68d5744..5f49d5c6f 100644 --- a/src/game/shared/econ/econ_item_system.cpp +++ b/src/game/shared/econ/econ_item_system.cpp @@ -569,7 +569,7 @@ public: m_sSignature = msg.Body().signature(); // !TEST! - //const char *szURL = "http://cdn.beta.steampowered.com/apps/440/scripts/items/items_game.b8b7a85b4dd98b139957004b86ec0bc070a59d18.txt"; + //const char *szURL = "https://cdn.beta.steampowered.com/apps/440/scripts/items/items_game.b8b7a85b4dd98b139957004b86ec0bc070a59d18.txt"; if ( msg.Body().has_items_game() ) { bool bDidInit = ItemSystem()->GetItemSchema()->MaybeInitFromBuffer( new DelayedSchemaData_GCDirectData( msg.Body().items_game() ) );