bug fix: do not alter data or blob URLs with [asatt]
This commit is contained in:
@@ -3545,6 +3545,9 @@ function sanitizeUrlForMime(url, mimeMajor) {
|
||||
return null;
|
||||
}
|
||||
function urlAsAttachment(url) {
|
||||
if (url.startsWith('data:') || url.startsWith('blob:')) {
|
||||
return url;
|
||||
}
|
||||
let query = '',
|
||||
fragment = '';
|
||||
const idxF = url.indexOf('#');
|
||||
|
||||
Reference in New Issue
Block a user