problem with temp dir that includes spaces

Bug #1248647 reported by M. Faber
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
queXF
Fix Released
Medium
Adam Zammit
queXML
Invalid
Undecided
Unassigned

Bug Description

Hi Adam,

when trying to upload a new pdf form in quexf it fails when you temp dir includes spaces.

The $tmp on line 140 in functions.import.php needed escaped thingies (sorry, dont know the english name for " :) )

might be a problem in other places as well...

140 exec(GS_BIN . " -sDEVICE=$type -r300 -sOutputFile=\"$tmp\"%d.png -dNOPAUSE -dBATCH $filename");

Related branches

Revision history for this message
M. Faber (m-faber) wrote :

sorry, should have filed this with quexf not with quexml..

Revision history for this message
Adam Zammit (adamzammit) wrote :

Thanks for the report and suggested fix. I have applied in revision 257

Changed in quexml:
status: New → Invalid
Changed in quexf:
status: New → Fix Committed
assignee: nobody → Adam Zammit (adamzammit)
importance: Undecided → Medium
Adam Zammit (adamzammit)
Changed in quexf:
milestone: none → 1.13.6
Adam Zammit (adamzammit)
Changed in quexf:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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