This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 197536 - Incorrect normalization for path with ".." as part of file name
Summary: Incorrect normalization for path with ".." as part of file name
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-07 13:07 UTC by Vladimir Kvashin
Modified: 2011-07-26 13:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Kvashin 2011-04-07 13:07:25 UTC
If file name contains double dot (".."), normalization (in remote file system) works incorrectly. 

For example for "/tmp/tmp..PaGjC" it returns "PaGjC" instead of "/tmp/tmp..PaGjC"

This causes instable remote tests failure (for mktemp command that is used in many tests sometimes generate such names)
Comment 1 Vladimir Kvashin 2011-04-07 14:30:36 UTC
http://hg.netbeans.org/cnd-main/rev/d7ea9940b062
Comment 2 Quality Engineering 2011-04-08 08:53:34 UTC
Integrated into 'main-golden', will be available in build *201104080400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/d7ea9940b062
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: fixed #197536 - Incorrect normalization for path with ".." as part of file name