Problem with image magick convert adding backslash

Problem with image magick convert adding backslash

Saturday 08 August 2009 4:48:57 am - 2 replies

Author Message

Jean-Francois Lalande

Saturday 08 August 2009 7:02:22 am

I think maybe this is not a problem with Apache and PHP. The documentation of exec indicates that "With safe mode enabled, the command string is escaped with escapeshellcmd(). Thus, echo y | echo x becomes echo y \| echo x.". So maybe it is a bug of Ezpublish that sends a commande line with a ">" inside which is escaped with a "\".

Can anyone confirm this ?

If it is right I can submit a bug report.

Peter Keung

Saturday 08 August 2009 9:00:49 am

Actually, the best solution is to disable safe mode, since that is one of the eZ Publish requirements:

http://ez.no/ezpublish/requirements

Most likely, this has to be set in php.ini or httpd.conf and cannot be done in .htaccess

http://www.mugo.ca
Mugo Web, eZ Partner in Vancouver, Canada

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.