[Lxr-dev] [ lxr-Bugs-1230443 ] Two letter directories fail
Brought to you by:
ajlittoz
From: SourceForge.net <no...@so...> - 2005-06-30 16:20:40
|
Bugs item #1230443, was opened at 2005-06-30 09:20 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=390117&aid=1230443&group_id=27350 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Browsing Group: v0.9.4 Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Two letter directories fail Initial Comment: Using version 0.9.4 no error messages Postgres DB Plain Files Path names consisting of only 2 letters are not displayed. E.g. browsing in linux/fs/ the displayed directory remains at linux/. Found the bug in sub clean_path: # Clean out /../ while ($path =~ m!/../!) { $path = s!/\.\./!/!g; The first regex matches any two letters, it should be escaped with \: # Clean out /../ while ($path =~ m!/\.\./!) { $path = s!/\.\./!/!g; feedback or questions to: t.lehnig <at> gmx <dot> de. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=390117&aid=1230443&group_id=27350 |