mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 07:33:52 +02:00
Add xml to ip-revealing extensions.
In case you put SVG content in an .xml file it shows it in the browser.
This commit is contained in:
parent
100a8882f1
commit
27780c7327
1 changed files with 1 additions and 1 deletions
|
@ -326,7 +326,7 @@ bool NameTypeAllowsThumbnail(NameType type) {
|
|||
|
||||
bool IsIpRevealingPath(const QString &filepath) {
|
||||
static const auto kExtensions = [] {
|
||||
const auto joined = u"htm html svg m4v m3u m3u8 xhtml"_q;
|
||||
const auto joined = u"htm html svg m4v m3u m3u8 xhtml xml"_q;
|
||||
const auto list = joined.split(' ');
|
||||
return base::flat_set<QString>(list.begin(), list.end());
|
||||
}();
|
||||
|
|
Loading…
Add table
Reference in a new issue