As described in the reference manual for COPY, we should to check file's pathformat not to allow relative path. Please find attached a patch.
Thanks,
Best regards,Etsuro Fujita