Symbols & and ? in the name of a large object
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-swiftclient |
Fix Released
|
High
|
gholt | ||
python-swiftclient (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
If I save an object that has symbols "&" or "?" in its name the swift does it rightly.
$ swift upload 1 "4&4.txt"
4&4.txt
But if I try to save an large object with these symbols in its name I get a message about error.
$ swift upload -S 10 2 "4&4.txt"
4&4.txt segment 0
Object PUT failed: http://
But I've found that the segments of this file were created.
etregubov@ten:~/1$ swift list 2_segments
4&4.txt/
I've traced the swift and found that it doesn't create manifest file. But if swift are patched this patch:
diff --git a/common/
index 235dcca..f03589e 100644
--- a/common/
+++ b/common/
@@ -120,7 +120,7 @@ def check_object_
except ValueError:
pass
- if not container or not prefix or '?' in value or '&' in value or \
+ if not container or not prefix or \
return HTTPBadRequest(
all works right.
summary: |
- & and ? in name of large object + Symbols & and ? in the name of a large object |
description: | updated |
Changed in swift: | |
status: | New → Confirmed |
Changed in swift: | |
importance: | Undecided → High |
Changed in swift: | |
assignee: | nobody → gholt (gholt) |
status: | Confirmed → In Progress |
tags: | added: python-swiftclient |
affects: | swift → python-swiftclient |
Changed in swift (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
affects: | swift (Ubuntu) → python-swiftclient (Ubuntu) |
Changed in python-swiftclient (Ubuntu): | |
status: | Triaged → Fix Released |
Changed in python-swiftclient: | |
status: | Fix Committed → Fix Released |
Looks like I can't read your patch because of the name (launchpad returns error 400).
Can you rename the patch?