[ http://jira.codehaus.org/browse/MRM-154?page=comments#action_73273 ] Brett Porter commented on MRM-154: ----------------------------------
thanks, would you mind including a test case? also, it's important that the diff be taken from the level of pom.xml to make it easier to apply. I'm not sure how you are generating these but they don't even contain the filename. > DigestUtils fails to verify checksum from ibiblio > ------------------------------------------------- > > Key: MRM-154 > URL: http://jira.codehaus.org/browse/MRM-154 > Project: Archiva > Issue Type: Bug > Reporter: nicolas de loof > Attachments: DigestUtils.java.patch > > > Downloading servletapi-24.pom fails. > DigestUtils.cleanChecksum check for filename in remote checksum file to be > same as local, but tets is inverted : > String filename = m.group( 2 ); > if ( !path.endsWith( filename ) ) > { > throw new DigesterException( "Supplied checksum does not > match checksum pattern" ); > } > filename = > "/home/projects/maven/repository-staging/to-ibiblio/maven2/servletapi/servletapi/2.4/servletapi-2.4.pom" > path = "servletapi-2.4.pom". > Patch provided to test if ( !path.endsWith( filename ) ) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira