[ http://jira.codehaus.org/browse/MRM-154?page=all ]

Brett Porter closed MRM-154.
----------------------------

         Assignee: Brett Porter
       Resolution: Fixed
    Fix Version/s: 1.0-beta-1

applied, thanks.

I also fixed the same problem for the openssl format

> 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
>         Assigned To: Brett Porter
>             Fix For: 1.0-beta-1
>
>         Attachments: DigestUtils.java.patch, MRM-154.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