Opened 17 years ago

Closed 17 years ago

#786 closed defect (fixed)

Path constructor doesn't validate the filename part of the path

Reported by: Nicklas Nordborg Owned by: everyone
Priority: minor Milestone: BASE 2.4.3
Component: core Version:
Keywords: Cc:

Description

It happily accepts a path like: /dir/abc<>def Creating a File item from the Path will catch the error since it's setName() method does the validation.

We should add a test case for invalid filename.

Change History (1)

comment:1 by Nicklas Nordborg, 17 years ago

Resolution: fixed
Status: newclosed

(In [3778]) Fixes #786: Path constructor doesn't validate the filename part of the path

Note: See TracTickets for help on using tickets.