Added: Make Lidarr CSP compatible

Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
This commit is contained in:
Qstick
2018-04-27 23:29:25 -04:00
parent 44ad754c86
commit 0d7cd8009f
7 changed files with 58 additions and 44 deletions
@@ -74,16 +74,9 @@ namespace Lidarr.Http.Frontend.Mappers
return string.Format("{0}=\"{1}{2}\"", match.Groups["attribute"].Value, UrlBase, url);
});
text = ReplaceText(text);
_generatedContent = text;
return _generatedContent;
}
protected virtual string ReplaceText(string text)
{
return text;
}
}
}