We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c8a149 commit 233308dCopy full SHA for 233308d
src/shared/utils/tc.js
@@ -311,7 +311,7 @@ export function isValidEmail(email) {
311
* check the review scan score for review type virus scan.
312
*/
313
export function safeForDownload(url) {
314
- return url != null && (url.toLowerCase().indexOf('submissions-quarantine/') === -1 || url.toLowerCase().indexOf('submissions-dmz/') === -1);
+ return url != null && url.toLowerCase().indexOf('submissions-quarantine/') === -1 && url.toLowerCase().indexOf('submissions-dmz/') === -1;
315
}
316
317
export default undefined;
0 commit comments