← Back to team overview

hugin-devs team mailing list archive

[Bug 737224] Re: ampersands in filenames not escaped

 

** Changed in: hugin
       Status: New => Confirmed

** Changed in: hugin
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/737224

Title:
  ampersands in filenames not escaped

Status in Hugin - Panorama Tools GUI:
  Confirmed

Bug description:
  Hugin can now cope with '&' ampersand characters in the filenames and
  folders of input photos. However it fails if the output prefix
  contains an ampersand. i.e. with 'foo & bar' as the prefix I see this
  error on Linux:

    nona  -z LZW  -r ldr -m TIFF_m -o foo\ &\ bar -i 0 /tmp/huginpto_44ZSCG
    /bin/sh:  bar: command not found

  This seems to be a simple case where & needs to be escaped in the
  _SHELL variables. If I rewrite all the _SHELL variables in the
  Makefiles, replacing every & with \&, stitching is fine.



References