Support validation of the FIleName attribute #215

Open
opened 2025-02-17 06:34:27 +00:00 by r.loginov · 0 comments
Member

Previously, we supported the validation of the FilePath and FileName attributes in accordance with the frostfs api specification.
As part of task #197, the addition of a leading slash (if not present) to the File Path attribute was added.
As part of task #174, a fallback was added and the leading slash (if any) was cut off from the `FileName' attribute.

As part of this task, it is required to extend the validation of the FileName attribute by checking whether FileName contains slash characters. According to the specification, the FileName attribute should not have a slash.
At the same time, it should be ensured that this functionality is also can be disabled #207.

Previously, we supported the validation of the `FilePath` and `FileName` attributes in accordance with the frostfs api specification. As part of task #197, the addition of a leading slash (if not present) to the `File Path` attribute was added. As part of task #174, a fallback was added and the leading slash (if any) was cut off from the `FileName' attribute. As part of this task, it is required to extend the validation of the `FileName` attribute by checking whether `FileName` contains slash characters. According to the specification, the `FileName` attribute should not have a slash. At the same time, it should be ensured that this functionality is also can be disabled #207.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-http-gw#215
No description provided.