From d@v|d@kor|k@mp @end|ng |rom o|||@@de  Thu Jan 24 15:51:39 2019
From: d@v|d@kor|k@mp @end|ng |rom o|||@@de (David Korfkamp)
Date: Thu, 24 Jan 2019 15:51:39 +0100
Subject: [Rd] Bug or undocumented behavior in normalizePath() with file
 system links on windows
Message-ID: <OF48B62599.D79E0C5C-ONC125838C.0050BE06-C125838C.0051A286@domino.offis.uni-oldenburg.de>

Hello,

I discovered a bug or undocumented behavior in normalizePath

steps to reproduce:

execute normalizePath on a folder link on windows. When you are on a 
non-english windows box, you likely have links in place for windows' 
default folders, e.g. "C:\Programme" linking to "C:\Program Files" on 
german windows boxes.

Thus executing 'normalizePath("C:/Programme/R")' results in an "
path[1]="C:/Programme/R": Access is denied" error while 
'normalizePath("C:/Program Files/R")' yields the expected result. Just 
executing executing 'normalizePath("C:/Programme")' however also yields 
the expected result,

Cheers
David

-- 
M.Sc. David Korfkamp

OFFIS e.V. - Institut f?r Informatik
FuE Bereich Gesundheit | R&D Division Health
Escherweg 2, 26121 Oldenburg - Germany
Phone/Fax: +49 (0) 441 9722 346 / -111
E-Mail: david.korfkamp at offis.de
URL: http://www.offis.de

Registergericht: Amtsgericht Oldenburg VR 1956 
Vorstand: Prof. Dr.-Ing. Wolfgang H. Nebel (Vorsitzender), Prof. Dr. 
techn. Susanne Boll-Westermann, Prof. Dr.-Ing. Axel Hahn, Prof. Dr.-Ing. 
Andreas Hein, Prof. Dr. Sebastian Lehnhoff 
	[[alternative HTML version deleted]]



[Rd] Bug or undocumented behavior in normalizePath() with file system links on windows
David Korfkamp