Bug #3149
Detailed object list malfunctioning
Status: | New | Start date: | 12/13/2012 | |
---|---|---|---|---|
Priority: | Medium | Due date: | ||
Assignee: | - | % Done: | 0% |
|
Category: | Pithos | Spent time: | - | |
Target version: | - |
Description
Detailed object list does not work if container name is a prefix of a shared object
curl -k -X GET -D - -H "X-Auth-Token: " "https://pithos.okeanos.grnet.gr/v1/user@example.com"
l
lala
pithos
trash
curl -k -X HEAD -D - -H "X-Auth-Token: " "https://pithos.okeanos.grnet.gr/v1/user@example.com/lala/a"
HTTP/1.1 200 OK
Date: Thu, 13 Dec 2012 12:08:19 GMT
Server: gunicorn/0.14.5
Content-Language: en-us
Vary: Accept-Language,Cookie
X-Object-Hash: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
X-Object-Modified-By: user@example.com
X-Object-Sharing: read=test
Last-Modified: Thu, 22 Nov 2012 10:13:06 GMT
ETag: d41d8cd98f00b204e9800998ecf8427e
X-Object-Version-Timestamp: Thu, 22 Nov 2012 10:13:06 GMT
Content-Type: application/directory
X-Object-UUID: 8ad00691-67f5-4264-aaef-7fad8bf3d648
X-Object-Version: 421716
αλλά αν ρωτήσω με json
curl -k -X GET -D - -H "X-Auth-Token: " "https://pithos.okeanos.grnet.gr/v1/user@example.com/l?format=json"
HTTP/1.1 404 NOT FOUND
Container does not exist
History
#1 Updated by Vangelis Koukis over 11 years ago
- Project changed from Pithos to Synnefo
#2 Updated by Vangelis Koukis over 11 years ago
- Category set to Pithos