Changeset 51099 in webkit
- Timestamp:
- Nov 17, 2009 5:12:50 PM (14 years ago)
- Location:
- trunk/WebKitTools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKitTools/ChangeLog
r51096 r51099 1 2009-11-17 Mark Rowe <mrowe@apple.com> 2 3 Reviewed by Alexey Proskuryakov. 4 5 <http://webkit.org/b/31603> WebSocket server is confused if WebKit tests run from within /tmp on Mac OS X 6 7 * pywebsocket/mod_pywebsocket/dispatch.py: Use os.path.realpath as it returns the canonical path of a file. 8 This prevents symlinks from confusing the descendant check. 9 1 10 2009-11-17 Mark Rowe <mrowe@apple.com> 2 11 -
trunk/WebKitTools/pywebsocket/mod_pywebsocket/dispatch.py
r50102 r51099 137 137 if scan_dir is None: 138 138 scan_dir = root_dir 139 if not os.path. abspath(scan_dir).startswith(os.path.abspath(root_dir)):139 if not os.path.realpath(scan_dir).startswith(os.path.realpath(root_dir)): 140 140 raise DispatchError('scan_dir:%s must be a directory under ' 141 141 'root_dir:%s.' % (scan_dir, root_dir))
Note: See TracChangeset
for help on using the changeset viewer.