Consider having a way to disable all specification enforcements for attributes #207

Open
opened 2025-02-07 12:09:33 +00:00 by alexvanin · 1 comment
Owner

#174 and #197 enforce special treatment for FilePath and FileName attributes:

  • FilePath must start with a /
  • FileName must not start with a /

Consider having a way to override this behaviour when user wants to access object with invalid FilePath or FileName attribute.

Based on #205 (comment)

#174 and #197 enforce special treatment for `FilePath` and `FileName` attributes: * FilePath must start with a `/` * FileName must not start with a `/` Consider having a way to override this behaviour when user wants to access object with _invalid_ FilePath or FileName attribute. Based on https://git.frostfs.info/TrueCloudLab/frostfs-http-gw/pulls/205#issuecomment-66750
Member

I would like to clarify. When doing a fallback by FileName attribute search, do we also want to be able to apply without checks? Or do we not change the fallback?

I would like to clarify. When doing a [fallback by FileName attribute search](https://git.frostfs.info/TrueCloudLab/frostfs-http-gw/src/branch/master/internal/handler/handler.go#L301), do we also want to be able to apply without checks? Or do we not change the fallback?
alexvanin changed title from Consider having a way to disalbe all specification enforcements for attributes to Consider having a way to disable all specification enforcements for attributes 2025-02-07 13:25:33 +00:00
alexvanin added this to the v0.33.0 milestone 2025-02-27 08:22:43 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
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#207
No description provided.