Welcome,
Guest
|
|
Hello
I have found an error in Adapter_Search_Lucene_Document_DOC.php in line 173 there is an popen function that execute antiword command but it fails when filename contain '-' character, i.e my-file-name.doc this file name will be treated as it ware a command line params: -file -name.doc and it will fail to execute. ATM code is like this: $handle = popen("{$antiword}". DIRECTORY_SEPARATOR ."antiword {$encoding} {$this->getFilename()}", 'r'); to correct this it should look like: $handle = popen("{$antiword}". DIRECTORY_SEPARATOR ."antiword {$encoding} "\{$this->getFilename()}\" ", 'r'); and this change has to be applied to every popen function call (win, osx, lin). (found this error when my cron script failed to index new files uploaded to server) |
The administrator has disabled public write access.
The following user(s) said Thank You: Giampaolo
|
|
Thanks,
we hope to release the bugfix as soon as possible. Thanks again. |
If you like, if it was useful, consider a donation, Thanks
Se vuoi, se ti siamo stati utili, considera una donazione, Grazie Help us by voting our extensions on Joomla.org: JiFile JoomPhoto Mobile Easy Language
The administrator has disabled public write access.
|
If you not change browser settings, you agree to it. Learn more