Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 332432 - Scanner.java should always scan the canonical form of a File
Summary: Scanner.java should always scan the canonical form of a File
Status: RESOLVED FIXED
Alias: None
Product: Jetty
Classification: RT
Component: server (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 minor (vote)
Target Milestone: 7.1.x   Edit
Assignee: Greg Wilkins CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-13 08:14 EST by Thomas Becker CLA
Modified: 2010-12-13 10:46 EST (History)
1 user (show)

See Also:
gregw: iplog+


Attachments
fix (1.08 KB, application/octet-stream)
2010-12-13 08:20 EST, Thomas Becker CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Becker CLA 2010-12-13 08:14:05 EST
Build Identifier: 

Scanner.java should use File.getCanonicalFile before scanning.

The way it is done currently might lead to weird behaviour on different OS.

Reproducible: Always
Comment 1 Thomas Becker CLA 2010-12-13 08:20:14 EST
Created attachment 185048 [details]
fix
Comment 2 Greg Wilkins CLA 2010-12-13 10:45:29 EST
r2607
Comment 3 Thomas Becker CLA 2010-12-13 10:46:09 EST
thx