Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.8.2-EE-GA_P02
-
Fix Version/s: EE-1.8.2.GA_P03
-
Component/s: Framework
-
Labels:None
-
Environment:-
Description
In addition to ICE-6862 which was resolved in 1.8.2 P03, the customer has noticed that the PersistentFacesServlet also answers requests for URLs containing "/xmlhttp/*" and exhibits the same behavior in ICE-6682. For a fake URL (ex. ../xmlhttp/phpMyAdmin/debug.html) it first returns a blank page with an HTTP 200 and only on the second invocation returns HTTP 500.
Change D2DViewHandler to throw FileNotFoundException when the template corresponding to the requested URL cannot be found. The View code now captures the FileNotFoundException and respond with a HTTP 404 message.
Also, the ResourceServer was modified to detect any request for resource that does not match a registered resource in order to respond with a HTTP 404 message.