Previously, when a container was named with '%' character, the URL in the Dashboard would break, causing a 'Bad Request' page to be returned. As a result, Horizon would fail to create containers with the name containing '%' character. It would also fail to list, upload or download files from such a container.
With this bug fix, the URLs are quoted properly. Users can now create containers with '%' in the name using the Dashboard and also list, upload and downloads files from such a container.
Created attachment 803872[details]
logs
Description of problem:
I was testing special characters container requests and if you create a container with % in the name we get a bad request page:
Bad Request
Your browser sent a request that this server could not understand.
Apache/2.2.15 (Red Hat) Server at nott-vdsa.qa.lab.tlv.redhat.com Port 80
also, for some cases the container will be created but we cannot list/upload or download files from it.
testing the swift UI it can support it as long as we put '***' so please note that even if horizon blocks special characters we can still create them from swift.
Version-Release number of selected component (if applicable):
python-django-horizon-2013.2-0.12b3.el6ost.noarch
How reproducible:
100%
Steps to Reproduce:
1. try to create a container called b%b
2.
3.
Actual results:
we get a bad request page from horizon
Expected results:
requests for special characters should be sent with 'b%b' since swift does support this and a user can still create a container from the cli and than not be able to list it from horizon.
Additional info:
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
http://rhn.redhat.com/errata/RHEA-2014-0855.html
Created attachment 803872 [details] logs Description of problem: I was testing special characters container requests and if you create a container with % in the name we get a bad request page: Bad Request Your browser sent a request that this server could not understand. Apache/2.2.15 (Red Hat) Server at nott-vdsa.qa.lab.tlv.redhat.com Port 80 also, for some cases the container will be created but we cannot list/upload or download files from it. testing the swift UI it can support it as long as we put '***' so please note that even if horizon blocks special characters we can still create them from swift. Version-Release number of selected component (if applicable): python-django-horizon-2013.2-0.12b3.el6ost.noarch How reproducible: 100% Steps to Reproduce: 1. try to create a container called b%b 2. 3. Actual results: we get a bad request page from horizon Expected results: requests for special characters should be sent with 'b%b' since swift does support this and a user can still create a container from the cli and than not be able to list it from horizon. Additional info: