Author: jleroux
Date: Thu Sep 12 15:36:38 2019
New Revision: 1866855
URL:
http://svn.apache.org/viewvc?rev=1866855&view=revLog:
Improved: Unknown request [d.png]; this request does not exist or cannot be
called directly.
(OFBIZ-11199)
I suppose this issue is similar to OFBIZ-11152. So I'm handling it the same.
It's not an end to the underneath issue but at least it can reassure user about
things being handled...
Modified:
ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/RequestHandler.java
Modified: ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/RequestHandler.java
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/RequestHandler.java?rev=1866855&r1=1866854&r2=1866855&view=diff==============================================================================
--- ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/RequestHandler.java (original)
+++ ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/RequestHandler.java Thu Sep 12 15:36:38 2019
@@ -277,7 +277,7 @@ public class RequestHandler {
if (path.contains("/checkLogin/")) {
// Nested requests related with checkLogin uselessly clutter the log. There is nothing to worry about, better remove this wrong error message.
return;
- } else if (path.contains("/images/")) {
+ } else if (path.contains("/images/") || path.contains("d.png")) {
if (Debug.warningOn()) Debug.logWarning("You should check if this request is really a problem or a false alarm: " + request.getRequestURL(), module);
throw new RequestHandlerException(requestMissingErrorMessage);
} else {