Re: SWISH-E 2.4.4 filters can not locate files
Bill Moseley <[email protected]> Tue, 17 Oct 2006 21:06:23 -0700 (PDT)
| Newsgroups | gmane.comp.web.swish-e |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Oct 17, 2006 at 01:09:25AM -0700, Ludovic Drolez wrote: > > I've made a few tests. Your problem comes from the fact that you use "'%p'" > on your filefilter line. Now you should simply use %p : > > Filefilter .pdf swish_filter.pl %p This could end up breaking a lot of old configurations that have been using quotes in the FileFilter directive. Again, I think the correct way to do this is to fork/exec so there's no quote/shell char issue at all -- but that also breaks old configs that used quotes as the docs show. I suppose we can break old configurations in the name of security. Would need to tokenize the string and then perhaps automatically remove quotes. -- Bill Moseley [email protected] Unsubscribe from or help with the swish-e list: http://swish-e.org/Discussion/ Help with Swish-e: http://swish-e.org/current/docs [email protected]