HomePhabricator
Diffusion MITK 3dff89c3a9a9

Avoid relative paths being used as root paths

Description

Avoid relative paths being used as root paths

Summary: Solves T28735 . A trailing slash was added to the filename path (not the filename) regardless of it being empty. This caused the following filename to be interpreted as a root path. Now, the OS-dependent separator is added only if the path is non-empty

Test Plan: See T28735

Reviewers: O3 MITK Reviewer Group II, O1 MITK Reviewer Group I, kislinsk

Reviewed By: O3 MITK Reviewer Group II, O1 MITK Reviewer Group I, kislinsk

Subscribers: kislinsk

Differential Revision: https://phabricator.mitk.org/D577

Details

Provenance
s434nAuthored on Dec 8 2021, 4:28 PM
s434nPushed on Mon, Dec 20, 12:16 PM
Reviewer
O3: MITK Reviewer Group II
Differential Revision
Restricted Differential Revision
Parents
rMITK91ed2c752a7a: undo useless Update call from D564
rMITK5e84f69b3c74: [BUG FIX][Measurement] "Fixed sized circle/double ellipse" checkbox active when…
Branches
Unknown
Tags
Unknown

Event Timeline