174-add_slash_clipping_when_search_by_filename_attr_support_v0.32 #204
No reviewers
TrueCloudLab/storage-services-committers
Labels
No labels
P0
P1
P2
P3
good first issue
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-http-gw#204
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "r.loginov/frostfs-http-gw:feature/174-add_slash_clipping_when_search_by_filename_attr"
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?
According to the FrostFS API specification,
the FileName attribute cannot contain a slash
at the beginning.
Test scenarios:
Container CID:
3TK3yYFQ9FqK9vGz5wfKpDS6KB81DYz8i3PinQiGLypW
Test scenario 1
Getting an object by the attribute
FileName'. The value of the
FileName` attribute has a "/" at the beginning.Uploading an object:
By default, its attribute is
FileName=cat.jpg
:We are trying to get an object using "/" at the beginning of the value of the attribute
FileName
:Logs of the frostfs-http-gw service:
Test scenario 2
We are retrieving an object using the
FilePath
attribute that does not exist. The value of theFile Path
attribute has a "/" at the beginning. Due to the fact that there is no such attribute, the gate will do a fallback search using theFileName
attribute.We are trying to get an object using the "/" at the beginning of the value of the "FilePath" attribute. (The bucket and the object from the previous test scenario):
Logs of the frostfs-http-gw service:
Signed-off-by: Roman Loginov r.loginov@yadro.com
feature/174-add_slash_clipping_when_search_by_filename_attrto 174-add_slash_clipping_when_search_by_filename_attr_support_v0.32174-add_slash_clipping_when_search_by_filename_attr_support_v0.32to WIP: 174-add_slash_clipping_when_search_by_filename_attr_support_v0.32WIP: 174-add_slash_clipping_when_search_by_filename_attr_support_v0.32to 174-add_slash_clipping_when_search_by_filename_attr_support_v0.32e6b210288e
to9f80b4f2ad
New commits pushed, approval review dismissed automatically according to repository settings
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.