Bug 1243 - Fix IOUtil.cleanPathString(..) special case ; Allow IOUtil and Uri to handle relative path
: Fix IOUtil.cleanPathString(..) special case ; Allow IOUtil and Uri to handle ...
Status: RESOLVED FIXED
: None
: Gluegen
: JogAmp
: core (show other bugs)
: 2.3.2
: All all
: --- major
: Sven Gothel
:
:
:
 
Reported: 2015-10-03 11:42 CEST by Sven Gothel
Modified: 2015-10-03 11:44 CEST (History)
0 users

:
Type: DEFECT
SCM Refs:
026875dd5256051d4e3504f1d9b01f7ce2bb70ff
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Gothel 2015-10-03 11:42:50 CEST
Fix IOUtil.cleanPathString(..) special case:
  Special case '/a/./../b' -> '/b'
  requires to resolve './' before '../'.

Allow IOUtil and Uri to handle relative path:
- IOUtil.getParentOf(..)
- IOUtil.cleanPathString(..)
  Handle cases:
   'a/./../b' -> 'b'
   '.././b' -> '../b'

- Uri: Handle null scheme
Comment 1 Sven Gothel 2015-10-03 11:44:36 CEST
commit 026875dd5256051d4e3504f1d9b01f7ce2bb70ff
  Fixed as described