Re: [Webware-devel] FieldStorage bug?

2001-09-07 Thread Clark C . Evans
| SecurePage.py creates hidden fields for any fields | passed in (now including query string variables). Yes, I use this technique frequently. | I think that the behavior of FieldStorage/HTTPRequest is | incorrect and should be changed instead. Form values should | overwrite query string valu

Re: [Webware-devel] FieldStorage and backwards compat with stringmethods, etc.

2001-09-07 Thread Ian Bicking
Tavis Rudd <[EMAIL PROTECTED]> wrote: > Is anyone actually using Webware in a shared hosting > environment? Ian, weren't you looking around for someone > that would let you run it? No, I never really found anyone, though I didn't try incredibly hard. I'm sure there are those who would. I don'

Re: [Webware-devel] FieldStorage and backwards compat with string methods, etc.

2001-09-07 Thread Tavis Rudd
On Friday 07 September 2001 17:05, Ian Bicking wrote: > Tavis Rudd <[EMAIL PROTECTED]> wrote: > > Fair enough, but that expose users of Webware and > > Python 1.5.2 to bugs that have been fixed in the recent > > versions of cgi.FieldStorage. With that in mind, is > > there any point in trying to

Re: [Webware-devel] FieldStorage and backwards compat with stringmethods, etc.

2001-09-07 Thread Ian Bicking
Tavis Rudd <[EMAIL PROTECTED]> wrote: > Fair enough, but that expose users of Webware and Python > 1.5.2 to bugs that have been fixed in the recent versions > of cgi.FieldStorage. With that in mind, is there any point > in trying to keep Webware compatible with Python 1.5.2? While Webware isn

[Webware-devel] FieldStorage and backwards compat with string methods, etc.

2001-09-07 Thread Tavis Rudd
Hi, there's lots of instances in the Webware codebase where the string module is used instead of using string methods. Someone told me months ago that this was to allow Webware use with Python 1.5.2. Fair enough, but that expose users of Webware and Python 1.5.2 to bugs that have been fixed

[Webware-devel] FieldStorage bug?

2001-09-07 Thread Jeff Johnson
I use a modified version of SecurePage.py which no longer works with the latest Webware CVS because of the new code that allows query strings and POST variables to both be parsed. I agree that both should be parsed but one should override the other, not be added together. SecurePage.py creates h

[Webware-devel] WebKit can't restart on FreeBSD - fixed.

2001-09-07 Thread Jeff Johnson
This is really strange but it seems that a single print statement in ThreadedAppServer.py that I was using to debug is what fixed the problem. Maybe it's flushing out stdout or something? Anyone know what's going on? Around line 483 I added the print statement which fixed the restart bug someh

RE: [Webware-devel] WebKit can't restart on FreeBSD - update.

2001-09-07 Thread Jeff Johnson
Yikes, I updated Webware from CVS and it merged Application.py and ThreadedAppServer.py with my changes. I then put some print statements where Geoff had suggested and could no longer reproduce the problem. Some magical combination of stuff fixed it. Then I deleted Application.py and ThreadedAp

[Webware-devel] WebKit can't restart on FreeBSD - update.

2001-09-07 Thread Jeff Johnson
Here's something that might shed some light on the problem where ThreadedAppServer has to wait 30 seconds after shutdown before it can bind to the port... If I only bring up a page that throws an exception, like from a syntax error in my Servlet, I can stop and restart the server immediately! It