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

See Also:
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