Actions
Bug #14804
closedIndexing external documents fails if there are spaces in the path
Start date:
2005-06-08
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
The command line parameters are not enclose in quotes and therefor the parsers get confused when there are spaces in the path.
A simple solution which worked for me was adding double quotes around the file name. This worked unter linux and under windows. My modified version of the external_parser is attached.
(issue imported from #M1180)
Files
Updated by Johannes Bornhold over 19 years ago
My modifications of the attached file are marked with comments which include the pattern "JOH:"
Updated by Christian J¼rges almost 19 years ago
imho it would better to use php function escapeshellarg() instead.
example:
$cmd = $this->app['pdfinfo'].' '.escapeshellarg($absFile);
Updated by Michael Stucki almost 18 years ago
This was fixed almost one year ago! Please check if the problem stil exists in TYPO3 4.0, otherwise please reopen.
Actions