Needs review
Project:
Swish-E Indexer
Version:
5.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Mar 2008 at 14:25 UTC
Updated:
23 Mar 2008 at 11:10 UTC
We have lots of PDF files with spaces in their names (linux hosting environment). The shell command chokes when there's a space in the file name, because the filename is not escaped with escapeshellarg() in _swish_do_text_extract (swish.integration.inc)
| Comment | File | Size | Author |
|---|---|---|---|
| swish.integration.inc_.patch | 1.24 KB | chrisfromredfin |
Comments
Comment #1
juerg commentedI am having the same problem you mentioned when the file name contains spaces. Your patch seems to have already been applied in the current version 5.x-1.1, but nevertheless I am still getting the following error message if the search result contains at least one file with spaces in the name:
* warning: implode(): Bad arguments. in ....../html/modules/node/node.module on line 525.
* user warning: in .....drupal/html/includes/database.mysql.inc on line 172.
Juerg