| Summary: | horizon: getting a bad request page when trying to create a swift container with % in the name | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Dafna Ron <dron> | ||||
| Component: | python-django-horizon | Assignee: | Julie Pichon <jpichon> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Amit Ugol <augol> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 4.0 | CC: | aortega, athomas, augol, dnavale, jpichon, mrunge, slong, yeylon | ||||
| Target Milestone: | Upstream M1 | Keywords: | Triaged | ||||
| Target Release: | 5.0 (RHEL 7) | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | storage | ||||||
| Fixed In Version: | python-django-horizon-2014.1-4.el7ost | Doc Type: | Bug Fix | ||||
| Doc Text: |
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.
|
Story Points: | --- | ||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-07-08 15:42:39 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
Fixed in Icehouse-1 upstream (commit 5a57c1ee704). As per previous comment, this was merged during Icehouse upstream and should already be available in the existing RHEL OSP 5 packages. Verified, I tried %, along with some other esoteric charecters. 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: