← Back to team overview

hugin-devs team mailing list archive

[Bug 737224] Re: ampersands in filenames not escaped

 

** Changed in: hugin
       Status: Confirmed => Fix Committed

** Changed in: hugin
    Milestone: None => 2011.0rc1

-- 
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:
  Fix Committed

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