1
0
Fork 0

Mention that also a antivirus software might corrupt file contents

pull/7015/merge
Markus Staab 2018-01-16 15:13:36 +01:00 committed by Jordi Boggiano
parent f28feedf58
commit 6a7e932233
1 changed files with 1 additions and 1 deletions

View File

@ -677,7 +677,7 @@ class ComposerRepository extends ArrayRepository implements ConfigurableReposito
} }
// TODO use scarier wording once we know for sure it doesn't do false positives anymore // TODO use scarier wording once we know for sure it doesn't do false positives anymore
throw new RepositorySecurityException('The contents of '.$filename.' do not match its signature. This could indicate a man-in-the-middle attack. Try running composer again and report this if you think it is a mistake.'); throw new RepositorySecurityException('The contents of '.$filename.' do not match its signature. This could indicate a man-in-the-middle attack or e.g. antivirus software corrupting files. Try running composer again and report this if you think it is a mistake.');
} }
$data = JsonFile::parseJson($json, $filename); $data = JsonFile::parseJson($json, $filename);