I just checked in your fix, after eyeballing it and determining that it
looks correct.  Tracy, can you grab the latest Application.py from CVS and
do a sanity check?

- Geoff

> -----Original Message-----
> From: Tracy Ruggles [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 05, 2002 1:41 PM
> To: Webware Discuss
> Subject: Re: [Webware-discuss] UseAutomaticPathSessions and 
> extraURLPath
> fix
> 
> 
> Does anyone else use the 'ExtraPathInfo' configuration?
> If so, do you use it in conjunction with 'UseAutomaticPathSessions' 
> configuration?
> It doesn't work right now.  I had to change Application.py to fix it.
> 
> The aforementioned line should be:
>       url = request.adapterName() + '/_SID_='+ newSid + '/' + 
> request.pathInfo() + (request.extraURLPath() or '')
>       # (requeset.extraURLPath() == None) should resolve to ''
> 
> This change shouldn't break any other code.  Should it be checked in?
> 
> How has the section of Application.py and other code related to the 
> extra url data option changed since the 0.7 release?
> 
> Thanks,
> --Tracy
> 
> On Tuesday, December 3, 2002, at 01:11 PM, Tracy S. Ruggles wrote:
> 
> > Hi all,
> >
> > I'm using Webware 0.7 and found that turning 
> > 'UseAutomaticPathSessions' on in the config doesn't carry over the 
> > part of the URL that is retrieved through request().extraURLPath().
> >
> > I made a one-line change to Application.py at line 526:
> >
> >             url = request.adapterName() + '/_SID_='+ newSid + '/' + 
> > request.pathInfo() + ('' or request.extraURLPath())
> >
> > This fixes that problem in 0.7, but I think that top of trunk cvs 
> > might be different.  At one point, I tried to check out 
> webware from 
> > cvs and found some oddities in the 'extraURLPath' function 
> so I have 
> > stayed at 0.7 for now.  I seem to remember that there was a 
> new method 
> > name for getting at that information and that it did or did 
> not return 
> > the leading slash in front of the extra url info.
> >
> > Either way, using both UseAutomaticPathSessions and the 
> > req.extraURLPath method is broken in 0.7.  The change above 
> fixes it, 
> > but I'm not sure if it does post-0.7.
> >
> > Thanks!
> > --Tracy
> >
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: Microsoft Visual Studio.NET 
> > comprehensive development tool, built to increase your 
> productivity. 
> > Try a free online hosted session at:
> > http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en
> > _______________________________________________
> > Webware-discuss mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/webware-discuss
> >
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Webware-discuss mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/webware-discuss
> 


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to