apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 46853] New: utf8_to_unicode_path breaks .. and . expansion
Date Fri, 13 Mar 2009 22:19:19 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=46853

           Summary: utf8_to_unicode_path breaks .. and . expansion
           Product: APR
           Version: HEAD
          Platform: PC
        OS/Version: Windows Vista
            Status: NEW
          Severity: normal
          Priority: P2
         Component: APR
        AssignedTo: bugs@apr.apache.org
        ReportedBy: M8R-3mye921@thisisnotmyrealemail.com


file_io//win32/open.c  utf8_to_unicode_path() 
adds the magic prefix "\\?\" for paths longer than 248 characters. This prefix
tells the Windows API to relax checking of MAX_PATH limits, but also to disable
".." and "." expansion.

So manual expansion of ".." and "." is required before adding the \\?\ prefix.

References:
http://msdn.microsoft.com/en-us/library/aa365247.aspx

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


Mime
View raw message