Re: segfault on xpath queries :P
darryl <[email protected]> Tue, 04 May 2004 13:21:02 -0500
| Newsgroups | gmane.comp.web.syncato.general |
|---|---|
| Message-ID | <[email protected]> |
emf wrote:
> On May 4, 2004, at 12:40, darryl wrote:
>
>> Can we see the code that goes with the caveats?
>
>
> sure. This is a patch for dist/servlets/restricted/Main.py - the main
> ugly thing is len('/WK/blog'), which could probably be replaced by
> looking in the config, and maybe the SCRIPT_NAME thing mentioned in my
> prior patch works consistently if you're not dumb like I was and made
> <Location /> be where you plopped your webware handler, but i haven't
> quite tested that out yet.
>
> Also the "if pathInfo is '/': pathInfo = ''" line is probably superfluous.
> --
> honi soit qui mal y pense
> ~mindlace http://mindlace.net
It looks to me that the isquery test would
cause a url with a "?" in to to screw up.
Such as the case I described earlier...
Or these faq entries:
http://www.syncato.org/WK/blog/Syncato_FAQ.page
-darryl
--
http://randomthoughts.vandorp.ca/syncato/WK/blog
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click