probablycorey/mini_magick — pull request #91 by knoopx (2012-07-04 15:04:52+00:00)
Title: Striping whitespaces can lead to argument concatenation

Example:

If we annotate the value `text ` (note the padding space) and escape it (`text\ `) and then strip it it results in the following command:

`mogrify -annotate text\ /output/file.png`

which is then parsed (by imagemagick) as:

`["-annotate", "text /output/file.png"]`

when it should be:

`["-annotate", "text ", "/output/file.png"]`