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.
Note:
See TracTickets
for help on using tickets.
(In [3778]) Fixes #786: Path constructor doesn't validate the filename part of the path