Open deviantony opened 6 years ago
Same question.
Ideally another function that tests both absolute or relative paths could be provided.
any news?
Hello guys! I forked this package cause owner disappeared. Hope, he will be back, but it would be easier to merge these changes back if he is back Link to my repo: create issue there and we'll discuss it.
Heya, playing around with govalidator recently I wanted to validate some input for a relative path, it seems that the
isFilePath
function only valides absolute paths?E.g:
isFilePath("relative_file_path") => false, 0
isFilePath("./relative_file_path") => false, 0
Is it a bug or the expected behavior?