[prev in list] [next in list] [prev in thread] [next in thread] 

List:       log4net-dev
Subject:    [jira] [Created] (LOG4NET-430) Wrong space handling in FileModelAssembler
From:       "Natanael Arndt (JIRA)" <jira () apache ! org>
Date:       2014-03-25 15:34:19
Message-ID: JIRA.12703488.1395761658468.1660.1395761659626 () arcas
[Download RAW message or body]

Natanael Arndt created LOG4NET-430:
--------------------------------------

             Summary: Wrong space handling in FileModelAssembler
                 Key: LOG4NET-430
                 URL: https://issues.apache.org/jira/browse/LOG4NET-430
             Project: Log4net
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.2.13
            Reporter: Natanael Arndt


The method {{getDirectoryName}} in \
{{com.hp.hpl.jena.assembler.assemblers.FileModelAssembler}} should also make sure \
that at some chars, like space should be urldecoded again. E.g. If the URI is \
{{file:///tmp/file%20name%20with%20space}} the corresponding file can not be found \
under {{/tmp/file%20name%20with%20space}} but under  {{/tmp/file name with space}}.

There might be some other chars which have to be taken into account, e.g. "%25" -> \
"%", but I don't think a urldecode over the whole string is correct.

Sorry I can't provide an example yet, because I couldn't isolate this part of the \
code so far and I didn't try to write a test for this.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic