Bug 1015177 - Handle vmcores uploaded with spaces in the name
Summary: Handle vmcores uploaded with spaces in the name
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: retrace-server
Version: el6
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Michal Toman
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1025123 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-03 14:59 UTC by Dave Wysochanski
Modified: 2015-03-23 00:42 UTC (History)
6 users (show)

Fixed In Version: retrace-server-1.12-2.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-15 18:58:04 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Dave Wysochanski 2013-10-03 14:59:10 UTC
Description of problem:
Today we can't queue vmcores if a space is in the name.  This is a special case and probably low priority but it would be good if it can be handled, or there is some workaround.

Version-Release number of selected component (if applicable):
retrace-server-1.10-1.el6.noarch

How reproducible:
Probably every time but unsure.

Steps to Reproduce:
1. Upload a vmcore to ftp site with a space in the name.  Example: "
2.
3.

Actual results:
Trying to queue it from 'manager' gives "There is no such task"

Expected results:
Able to queue the vmcore from the 'manager' page same as other vmcores.

Additional info:
I tried to use "%20" added to the URL but got the same result.

I can provide a example in our local system.

Comment 3 Michal Toman 2013-10-31 07:27:34 UTC
*** Bug 1025123 has been marked as a duplicate of this bug. ***

Comment 4 Michal Toman 2014-02-26 15:15:00 UTC
Fixed in upstream

commit bb57b79f96dc706fcce08510bc080451ab9f027d
Author: Michal Toman <mtoman>
Date:   Wed Feb 26 16:12:32 2014 +0100

    use urllib.quote() instead of urllib.quote_plus()
    
    the '+' gets double quoted when used within <a> tag, while '%20' does not
    
    Signed-off-by: Michal Toman <mtoman>

Comment 5 Fedora Update System 2014-02-27 13:46:39 UTC
retrace-server-1.11-1.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/retrace-server-1.11-1.el6

Comment 6 Fedora Update System 2014-03-01 07:11:39 UTC
Package retrace-server-1.11-1.el6:
* should fix your issue,
* was pushed to the Fedora EPEL 6 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing retrace-server-1.11-1.el6'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2014-0687/retrace-server-1.11-1.el6
then log in and leave karma (feedback).

Comment 8 Dave Wysochanski 2014-03-07 21:07:43 UTC
Looks fixed to me.  I did not upload a vmcore though to the ftp site and try that method.  Submitting a vmcore 'vmcore with spaces' via 'custom core location' worked though.  I did not need to quote the file - just provide the full path with spaces included.

Comment 9 Fedora Update System 2014-07-31 11:52:46 UTC
retrace-server-1.12-2.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/retrace-server-1.12-2.el6

Comment 11 Fedora Update System 2014-08-15 18:58:04 UTC
retrace-server-1.12-2.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.