Benvenuto,
Ospite
|
|
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) |
L\'Amministratore ha disattivato l\'accesso in scrittura al pubblico.
I seguenti utenti ringraziano:: 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
L\'Amministratore ha disattivato l\'accesso in scrittura al pubblico.
|
Facendo click su qualunque link della pagina si accetta il loro utilizzo. Per saperne di piu'