Uploaded image for project: 'Log4net'
  1. Log4net
  2. LOG4NET-430

Wrong space handling in FileModelAssembler

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 1.2.13
    • Fix Version/s: None
    • Component/s: Core
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              white_gecko Natanael Arndt
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: