Closed Bug 368944 Opened 18 years ago Closed 18 years ago

Don't use appendRelativePath in xpcshell-simple's do_get_topsrcdir

Categories

(Testing :: XPCShell Harness, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.9

People

(Reporter: Waldo, Assigned: Waldo)

References

Details

The only case where appendRelativePath is used is one where it's very likely the passed-in path contains .., and according to IDL docs that's not actually supposed to be allowed.  (The fact that all implementations I know allow it is a bug.)  We should hack around this by doing appends component-wise, or we should change the nsILocalFile interface to allow relative paths with .. in appendRelativePath.  (I'm not sure which choice is the more palatable one, incidentally.)
No longer depends on: 351968
Depends on: 351968
Depends on: 368942
Fixed by bug 368942.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Component: Testing → TUnit
Product: Core → Testing
Target Milestone: mozilla1.9alpha1 → mozilla1.9
QA Contact: testing → tunit
You need to log in before you can comment on or make changes to this bug.