downloading swift objects with a space in the name downloads only the first part of the name

Bug #1245927 reported by Yves-Gwenael Bourhis
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Medium
Yves-Gwenael Bourhis

Bug Description

Steps to reproduce:
================
on devstack, you need in localrc:
enable_service swift
SWIFT_HASH=66a3d6b56c1f479c8b4e70ab5c2000f5
SWIFT_REPLICAS=1

In the Dashboard, on the "Projects -> Object Store Containers" page:
- Create a Container
- upload a file (a png image e.g.) and name it "picture of me"
- Try to download the file afterwords.

Problem description:
================
The attachment's name is "picture" and should be "picture of me.png"

Changed in horizon:
assignee: nobody → Yves-Gwenael Bourhis (yves-gwenael-bourhis)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/54364

David Lyle (david-lyle)
Changed in horizon:
importance: Undecided → Medium
milestone: none → icehouse-1
Thierry Carrez (ttx)
Changed in horizon:
milestone: icehouse-1 → icehouse-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/54364
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=a1a33ce3935fc90813ec694494ade770c64af99c
Submitter: Jenkins
Branch: master

commit a1a33ce3935fc90813ec694494ade770c64af99c
Author: Yves-Gwenael Bourhis <email address hidden>
Date: Tue Oct 29 16:55:18 2013 +0100

    Quoting attachment filename

    Attachment file name was not surrounded by quotes.
    If an attachment was "picture of me.png", the browser was proposing to
    download a file named "picture".

    Change-Id: I17a1f8ca3b7ef44171c4977bacc9045e4695e18c
    Closes-bug: #1245927

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: icehouse-2 → 2014.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.