Bugs: Browse | Submit New | Admin

[#8932] Quoting escaped files not working for initial "identify" command in initialize

Date:
2007-02-28 05:39
Priority:
3
Submitted By:
Steve Midgley (stevemidgley)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
Quoting escaped files not working for initial "identify" command in initialize

Detailed description
For version 1.2.0, line 42 is currently:

      run_command("identify #{@path}")      

And should be changed to:

      run_command("identify", "#{@path}")      

Without passing these parameters as two arguments, the @path variable is not escaped by underlying command processor
in run_command.

I hope this fix is helpful!

Steve

Add A Comment: Notepad

Please login


Followup

Message
Date: 2007-02-28 05:50
Sender: Steve Midgley

Here's a patch file documenting the change too..

Attached Files:

Name Description Download
mini_magic.escape_character.patch Download
mini_magic.escape_character.2.patch Fixes problem in two places instead of original patches one! Sorry for confusion. Download

Changes:

Field Old Value Date By
File Added1276: mini_magic.escape_character.2.patch2007-02-28 06:44stevemidgley
summaryQuoting escaped files not working for initial "identify" command in initialize2007-02-28 06:44stevemidgley
File Added1275: mini_magic.escape_character.patch2007-02-28 05:50stevemidgley
summaryQuoting escaped files not working for initial "identify" command in initialize2007-02-28 05:50stevemidgley
summaryQuoting escaped files not working for initial "identify" command in initialize2007-02-28 05:50stevemidgley