Bug 272360 - Client side java-script errors are too revealing for deployment
Summary: Client side java-script errors are too revealing for deployment
Status: RESOLVED WORKSFORME
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.2   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2009-04-15 14:51 EDT by Austin Riddle CLA
Modified: 2010-02-08 09:48 EST (History)
0 users

See Also:


Attachments
Patch that delivers a more obscure message to the user (894 bytes, patch)
2009-04-15 14:51 EDT, Austin Riddle CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Austin Riddle CLA 2009-04-15 14:51:58 EDT
Created attachment 131961 [details]
Patch that delivers a more obscure message to the user

Build ID: RAP CVS HEAD

Steps To Reproduce:
Introduce a javascript error (could be syntactical) into a qooxdoo widget.  
Run the app and make it crash.
See that the error message might be too verbose (revealing actual application data).


More information:
This bug is more to share what we had to do to make our RAP app compliant with the network security folks.
Comment 1 Rüdiger Herrmann CLA 2009-04-16 13:23:43 EDT
The proposed patch would also "override" the session timeout notification (Session has timed out, click <here> to restart). The name of the function doesn't exactly reflect its purpose: to shut down the client-side application and display the given HTML page.

Could you clarify what sort of information is revealed in case of an error?
I see currently two 'types' of errors that may occur:
* a failed request, e.g HTTP 500 because of a server-side exception. In this case it is the servers' responsibility to put only that information into the response that should go over the wire. For example, specify an <error-page> element in your web.xml.
* a Javascript error caused while evaluating a response. What information is revealed there that wouldn't be revealed anyway if the evaluation succedded?
Comment 2 Rüdiger Herrmann CLA 2010-02-08 09:48:05 EST
From my POV there doesn't need to be done more about this. Please reopen if you have outstanding issues.