Re: [Webware-discuss] cvs update: WebKit/ExceptionHandler.py

2002-04-20 Thread Mike Orr
On Sat, Apr 20, 2002 at 01:03:19PM -0400, Geoffrey Talvola wrote: > How about this: wherever we're calling "repr" when we're generating the > exception report, we should check the length of the resulting string and trim > it if it's too long. I think we should add a config var to control that

Re: [Webware-discuss] cvs update: WebKit/ExceptionHandler.py

2002-04-20 Thread Geoffrey Talvola
On Friday April 19, 2002 06:36 pm, Chuck Esterbrook wrote: > I took a stab at trimming the length of values in the exception report, > but my first attempt failed. The problem is that a value could be a > long HTML string with tags (for say, a dictionary). > Cutting out a peice of the middle or e

RE: [Webware-discuss] cvs update: WebKit/ExceptionHandler.py

2002-04-20 Thread Matt Feifarek
| I took a stab at trimming the length of values in the exception report, | but my first attempt failed. The problem is that a value could be a | long HTML string with tags (for say, a dictionary). | Cutting out a peice of the middle or end of that results in fragmented | HTML and screws up the p

[Webware-discuss] cvs update: WebKit/ExceptionHandler.py

2002-04-19 Thread Chuck Esterbrook
When putting together the exception report, the handler now replaces any field values for: hideValuesForFields = ['creditcard', 'credit card', 'cc', 'password', 'passwd'] with: hiddenString = '*** hidden ***' I also added to the doc string, instructions on how to subclass and instal