Behat/Mink — pull request #101 by mrtorrent (2011-10-12 15:59:15+00:00)
Title: Escape file path passed to the show_cmd to ensure the argument is valid

Hi there, in `BaseMinkContext::showLastResponse()` the path of the temporary file is passed to system() unescaped. If `show_tmp_dir` has any special characters in it (such as a space), this can cause unexpected results (in the case of white space, the path will be interpreted as multiple arguments).

This patch uses escapeshellarg() to escape and quote the path.