From 1a62a3db34751a1d2ffba01486f27016baf2c3ad Mon Sep 17 00:00:00 2001 From: hns Date: Mon, 29 Aug 2005 15:56:20 +0000 Subject: [PATCH] * Fix Bug 439: req.action returns wrong result on GET/POST/... --- src/helma/framework/core/RequestEvaluator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helma/framework/core/RequestEvaluator.java b/src/helma/framework/core/RequestEvaluator.java index fedbfabe..140042dc 100644 --- a/src/helma/framework/core/RequestEvaluator.java +++ b/src/helma/framework/core/RequestEvaluator.java @@ -317,7 +317,7 @@ public final class RequestEvaluator implements Runnable { // beginning of execution section try { // set the req.action property, cutting off the _action suffix - req.setAction(action.substring(0, action.length() - 7)); + req.setAction(action.substring(0, action.lastIndexOf("_action"))); // reset skin recursion detection counter skinDepth = 0;