mirror of
https://github.com/vxcontrol/soldr-modules.git
synced 2026-07-19 13:33:58 -04:00
[PR #16] [MERGED] Remove validation of the file_path parameter in file_reader #24
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/vxcontrol/soldr-modules/pull/16
Author: @souryogurt
Created: 12/9/2022
Status: ✅ Merged
Merged: 12/9/2022
Merged by: @asdek
Base:
master← Head:remove-file_reader-log_files-ui-validation📝 Commits (1)
b6f5fa5Remove validation of the file_path parameter in file_reader📊 Changes
1 file changed (+1 additions, -7 deletions)
View changed files
📝
file_reader/1.0.0/config/config_schema.json(+1 -7)📄 Description
This parameter had been validating using a simple regexp that doesn't allow specifying absolute paths and other correct windows paths like network shares.
Checking the validity of the path for both Windows and Unix systems simultaneously seems unnecessary in UI since it is almost impossible to check all correct variants using just regexp. So instead of correcting the regexp - I deleted it.
Closes #10
Closes #11
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.