diff --git a/src/galaxyapi.cpp b/src/galaxyapi.cpp index ff51029..ce8a6b1 100644 --- a/src/galaxyapi.cpp +++ b/src/galaxyapi.cpp @@ -421,8 +421,8 @@ std::vector galaxyAPI::fileJsonNodeToGameFileVector(const std::string& std::string downlink_url = downlinkJson["downlink"].asString(); std::string path = this->getPathFromDownlinkUrl(downlink_url, gamename); - // Check to see if path ends in "/secure" which means that we got invalid path for some reason - boost::regex path_re("/secure$", boost::regex::perl | boost::regex::icase); + // Check to see if path ends in "/secure" or "/securex" which means that we got invalid path for some reason + boost::regex path_re("/securex?$", boost::regex::perl | boost::regex::icase); boost::match_results what; if (boost::regex_search(path, what, path_re)) continue;