You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@apr.apache.org by bu...@apache.org on 2009/03/13 23:19:19 UTC
DO NOT REPLY [Bug 46853] New: utf8_to_unicode_path breaks .. and .
expansion
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
DO NOT REPLY [Bug 46853] utf8_to_unicode_path breaks .. and .
expansion
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46853
--- Comment #1 from Will Rowe <wr...@apache.org> 2009-03-14 02:03:13 PST ---
Good catch, seems we need a set of very-long-name tests to catch such issues.
Thanks!
--
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