Fix content replacement being allowed from all URLs

This commit is contained in:
Ryan Huffman 2018-03-15 12:49:22 -07:00
parent 9275fe1f7d
commit 03c8c14f61

View file

@ -6399,7 +6399,7 @@ bool Application::askToReplaceDomainContent(const QString& url) {
const int MAX_CHARACTERS_PER_LINE = 90;
if (DependencyManager::get<NodeList>()->getThisNodeCanReplaceContent()) {
QUrl originURL { url };
if (true || originURL.host().endsWith(MARKETPLACE_CDN_HOSTNAME)) {
if (originURL.host().endsWith(MARKETPLACE_CDN_HOSTNAME)) {
// Create a confirmation dialog when this call is made
static const QString infoText = simpleWordWrap("Your domain's content will be replaced with a new content set. "
"If you want to save what you have now, create a backup before proceeding. For more information about backing up "