DigestUtils fails to verify checksum from ibiblio
-------------------------------------------------

                 Key: MRM-154
                 URL: http://jira.codehaus.org/browse/MRM-154
             Project: Maven Repository Manager
          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

        

Reply via email to