Ticket #434
Error with AV routine if an empty file was uploaded. This includes any infected files being intercepted by the server's AV scanner. git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@4159 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
@@ -293,6 +293,10 @@ CREATE OR REPLACE PACKAGE BODY mip_virus_check IS
|
||||
p_description => 'Virus checked by MIP');
|
||||
|
||||
END IF;
|
||||
EXCEPTION
|
||||
WHEN no_data_found THEN
|
||||
delete_file_from_mip(p_doc_id => l_doc_id);
|
||||
pl('File uploaded was empty and has been removed from MIP');
|
||||
|
||||
END check_file;
|
||||
--
|
||||
|
||||
Reference in New Issue
Block a user