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 
install your own custom exception handler so that you can change these 
attributes, override other methods, or whatever.

You *can* override the core classes in WebKit, it's just that I'm the 
only one who usually knows how.  :-)


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 <table><tr><td> tags (for say, a dictionary). 
Cutting out a peice of the middle or end of that results in fragmented 
HTML and screws up the page.

Geoff, you're most in need of this. Some questions:

- Does adding some hideValuesForFields for your app alleviate your need 
for "trimming" long values?

- If not, would it be sufficient to trim just the values inside 
dictionaries, but not the overall dictionaries themselves?

- If not, did you have an algorithm in mind?


-Chuck

_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to