commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Kopp (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CONFIGURATION-521) fileFromUrl: decoding of encoded % character does not work
Date Thu, 17 Jan 2013 21:44:14 GMT

    [ https://issues.apache.org/jira/browse/CONFIGURATION-521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13556631#comment-13556631
] 

Oliver Kopp commented on CONFIGURATION-521:
-------------------------------------------

A quick test revealed that the new IO version also works here. I'll attach a patch. It obeys
the renaming from fileFromURL(URL) to toFile(URL).
                
> fileFromUrl: decoding of encoded % character does not work
> ----------------------------------------------------------
>
>                 Key: CONFIGURATION-521
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-521
>             Project: Commons Configuration
>          Issue Type: Bug
>    Affects Versions: 1.9
>            Reporter: Oliver Kopp
>         Attachments: fileFromUrl.patch, update-to-FileUtils-rev1349509.patch
>
>
> If ConfigurationUtils.fileFromUrl(URL) should create a file from a URL containing an
enoced % sign (%25), then it does not work.
> I saw that the code apache.commons.io now is really different, but seems to work. Why
isn't apache.commons.io directly used?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message