← Back to team overview

hugin-devs team mailing list archive

[Bug 737224] [NEW] ampersands in filenames not escaped

 

Public bug reported:

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.

** Affects: hugin
     Importance: Undecided
         Status: New

-- 
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:
  New

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.



Follow ups

References