On Mon, 20 May 2002, Kip Hampton wrote: > > > Matt Sergeant wrote: > > <snip/> > > > Should a passthru on a request like http://server/test.sxw?passthru=1 > > return you: > > > > a) The OpenOffice document stored on the filesystem. > > b) The XML extracted from the above OpenOffice document (i.e. an AxKit > > handled request, just without any stylesheets applied). > > > So overall the question becomes do we change passthru, or do we add some > > new passthru-like operator? I'd prefer to fix passthru, as I hate to add > > extra cruft, but I'm open to other thoughts on this (including ones that > > say "Do nothing - it ain't broke don't fix it"). > > There may be another option, too. Maybe the passthru Plugin could have > and associated config directive to control this behavior? > > Like, if dir_config has an 'AxProvideOnPassthru' (or whatever) then the > provider gets the XML but does not style it, and without that, it just > works as it is now. I know, its more cruft, prolly, but one size won't > fit all here and there are sane uses for both behaviors.
I'd be happy with a config option. I think it would probably be best if delivering the results of the provider would be best to be the default, since at the moment passthru + the filter provider is a horrible security risk (as would be a lot of other providers). So I suggest an option (dir_config only for now): AxFastPassthru which if set will use the current passthru mechanism. Otherwise it will try and get the content via the provider and deliver that. -- <!-- Matt --> <:->Get a smart net</:-> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
