You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Maarten Coene (JIRA)" <ji...@apache.org> on 2008/09/29 16:24:44 UTC

[jira] Commented: (IVY-923) Can't download files containing space or + in their names by HTTP

    [ https://issues.apache.org/jira/browse/IVY-923?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12635391#action_12635391 ] 

Maarten Coene commented on IVY-923:
-----------------------------------

Do you have the same problem when not using commons-httpclient?

Maarten

> Can't download files containing space or + in their names by HTTP
> -----------------------------------------------------------------
>
>                 Key: IVY-923
>                 URL: https://issues.apache.org/jira/browse/IVY-923
>             Project: Ivy
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0-RC1
>            Reporter: Pavel Sher
>
> I have an artifact with space in it's name, such artifact can't be downloaded by Ivy 2.0 RC1. The problem is somewhere near the doHead() method of the org.apache.ivy.util.url.HttpClientHandler class. This method receives url but this url contains spaces and when HttpClient HeadMethod is constructed an exception is thrown (which is silently ignored by the way). It seems that URL parts must be properly escaped before sent to HTTP client, since URL.toExternalForm() does not do this.
> The same problem seems to occur if file name contains +.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.