mtgjson now secure

This commit is contained in:
Zach H 2016-01-14 17:32:25 -05:00
parent fc59a33b84
commit ad0334e734

View file

@ -30,13 +30,13 @@
#include "settingscache.h" #include "settingscache.h"
#define ZIP_SIGNATURE "PK" #define ZIP_SIGNATURE "PK"
#define ALLSETS_URL_FALLBACK "http://mtgjson.com/json/AllSets.json" #define ALLSETS_URL_FALLBACK "https://mtgjson.com/json/AllSets.json"
#ifdef HAS_ZLIB #ifdef HAS_ZLIB
#include "zip/unzip.h" #include "zip/unzip.h"
#define ALLSETS_URL "http://mtgjson.com/json/AllSets.json.zip" #define ALLSETS_URL "https://mtgjson.com/json/AllSets.json.zip"
#else #else
#define ALLSETS_URL "http://mtgjson.com/json/AllSets.json" #define ALLSETS_URL "https://mtgjson.com/json/AllSets.json"
#endif #endif
#define TOKENS_URL "https://raw.githubusercontent.com/Cockatrice/Magic-Token/master/tokens.xml" #define TOKENS_URL "https://raw.githubusercontent.com/Cockatrice/Magic-Token/master/tokens.xml"