hp-scan does not escape whitespaces in output file paths
Bug #1779741 reported by
ce3a
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
hp-scan fails opening the pdf output file, if the output file path contains white spaces.
Steps to reproduce the issue:
cd some/path\ with\ spaces\
hp-scan -spdf
scan.py seems not to escape spaces in file paths. Fixed locally by changing
cmd = "%s %s &" % (pdf_viewer, output)
to
cmd = "%s \"%s\" &" % (pdf_viewer, output)
in several places.
hp-scan version:
HP Linux Imaging and Printing System (ver. 3.18.3)
Scan Utility ver. 2.2
description: | updated |
Changed in hplip: | |
status: | New → Confirmed |
information type: | Private Security → Public |
To post a comment you must log in.