Re: SWISH-E 2.4.4 filters can not locate files

Gertjan Hofman <[email protected]> Mon, 16 Oct 2006 16:06:47 -0700 (PDT)
Newsgroups gmane.comp.web.swish-e
Message-ID <[email protected]>
I am bit confused. Why is the file name string being
quoted AND escaped ? Seems like just quoting should do
the job under Bourne, no ?

Gertjan


--- David L Norris <[email protected]> wrote:

> On Mon, 2006-10-16 at 14:11 -0700, Peter Karman
> wrote:
> > yes, that's it. it uses isalnum(), which on my
> system at least (OS X) doesn't 
> > match underscore.
> 
> isalnum is equivalent to (isdigit || isalpha) which
> matches A-Z or a-z
> or 0-9 (or whatever characters are equivalent in the
> current locale).
> 
> > Looks like it should check for _ and . at the very
> least. Probably - too.
> > Any others?
> 
> Probably many characters and we'd undoubtedly miss
> some along the way.
> Like Bill says, its just not safe to try to list
> which characters we
> want to trust.  I think whatever we're doing in
> extprog.c we should be
> doing filter.c.
> 
> -- 
>  David L Norris
>   http://webaugur.com/
>   ICQ - 412039
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com