bad request when creating a swift container with % in name
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Medium
|
Romain Hardouin |
Bug Description
when we try to create a container that has % in its name we get a bad request page from horizon:
Bad Request
Your browser sent a request that this server could not understand.
Apache/2.2.15 (Red Hat) Server at nott-vdsa.
to reproduce:
create a container with such as b%b or something of the sort.
btw, if you create a longer name of container with lots of special charterers and % is in one of them, the container will probably be created but you cannot upload/delete or list the objects in it as described in:
https:/
so I am not sure if this bug is a duplicate or extension of the above bug but since it causes horizon to crash and the old one was closed for lack of activity I thought a new one might be in order.
I am working with package python-
Changed in horizon: | |
importance: | Undecided → Medium |
milestone: | none → icehouse-1 |
status: | New → Triaged |
Changed in horizon: | |
assignee: | nobody → Romain Hardouin (romain-hardouin) |
Changed in horizon: | |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | icehouse-1 → 2014.1 |
Dafna you're right, the bug #1042682 still exists. I'll also fix it with this patch since I'll fix all "%" issues.
FYI, it's due to URL that are not "urlquote()d".
Actually this is an old (4 years) Django bug since reverse() should urlquote parameters.
Django 1.6 will fix it:
https:/ /code.djangopro ject.com/ ticket/ 13260
https:/ /github. com/aaugustin/ django/ commit/ 01bafc5f5e5024b 17ed2d725fb12d0 9c9885595b# diff-f83d2617ed 57b0c7608c5f558 1fa6e7dL377