* Fix Bug 439: req.action returns wrong result on GET/POST/...

This commit is contained in:
hns 2005-08-29 15:56:20 +00:00
parent 8044f33450
commit 1a62a3db34

View file

@ -317,7 +317,7 @@ public final class RequestEvaluator implements Runnable {
// beginning of execution section // beginning of execution section
try { try {
// set the req.action property, cutting off the _action suffix // 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 // reset skin recursion detection counter
skinDepth = 0; skinDepth = 0;