Actions
action #114866
openHandle a trailing slash in NEEDLES_DIR correctly
Start date:
2022-02-22
Due date:
% Done:
0%
Estimated time:
Description
Motivation¶
Currently if the NEEDLES_DIR parameter is supplied with a trailing slash it causes the first character of the filename to be stripped and the JSON needle file is not found.
See Handle a NEEDLES_DIR that contain a trailing / correctly for the original context.
Acceptance criteria¶
- AC1: A trailing slash in NEEDLES_DIR is effectively ignored
Suggestions¶
- Look at the existing proof of concept
- Consider File::Spec->canonpath
- Extend t/01-test_needle.t
Updated by livdywan over 2 years ago
- Has duplicate action #115283: Handle a NEEDLES_DIR that contain a trailing / correctly added
Actions