Bug 1060568

Summary: pdfmerge does not escape filename
Product: [Fedora] Fedora Reporter: Pavel Alexeev <pahan>
Component: pdfmergeAssignee: Dominic Hopf <dmaphy>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: dmaphy
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pdfmerge-1.0.5-1.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-12 14:44:05 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:
Embargoed:

Description Pavel Alexeev 2014-02-02 17:41:10 UTC
Description of problem:
Note on use file names with spaces for example:

[pasha@hubbitus test]$ ls -1
1 1.pdf
1 2.pdf
[pasha@hubbitus test]$ pdfmerge "1 1.pdf" "1 2.pdf" "1 full.pdf"
Usage: ps2pdfwr [options...] (input.[e]ps|-) [output.pdf|-]
Merge was not successful

Version-Release number of selected component (if applicable):
$ rpm -q pdfmerge
pdfmerge-1.0.4-6.fc20.noarch

How reproducible:
Always

Comment 1 Pavel Alexeev 2014-02-02 17:45:01 UTC
Fix trivial. I have sent you pull request: https://github.com/dmaphy/pdfmerge/pull/5

Comment 2 Fedora Update System 2014-02-02 21:58:40 UTC
pdfmerge-1.0.5-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/pdfmerge-1.0.5-1.fc19

Comment 3 Fedora Update System 2014-02-02 21:58:49 UTC
pdfmerge-1.0.5-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/pdfmerge-1.0.5-1.fc20

Comment 4 Dominic Hopf 2014-02-02 21:59:09 UTC
Thanks very much for reporting this and thank you for providing the fix!

Comment 5 Pavel Alexeev 2014-02-03 15:45:34 UTC
Thank you for the updates.

Comment 6 Fedora Update System 2014-02-04 02:49:18 UTC
Package pdfmerge-1.0.5-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing pdfmerge-1.0.5-1.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-1978/pdfmerge-1.0.5-1.fc20
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2014-02-12 14:44:05 UTC
pdfmerge-1.0.5-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2014-02-12 14:48:17 UTC
pdfmerge-1.0.5-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.