mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 05:29:20 +03:00
Changes for #326
This commit is contained in:
parent
3d0421762a
commit
f39b1bb14d
4 changed files with 17 additions and 26 deletions
|
|
@ -236,7 +236,7 @@ export const
|
|||
setAttribute('data-x-src-cid', value.slice(4));
|
||||
result.foundCIDs.push(value.slice(4));
|
||||
}
|
||||
else if (/^https?:\/\//i.test(value) || '//' === value.slice(0, 2))
|
||||
else if (/^(https?:)?\/\//i.test(value))
|
||||
{
|
||||
setAttribute('data-x-src', useProxy ? proxy(value) : value);
|
||||
result.hasExternals = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue