unico 2004/01/19 04:46:47
Modified: src/java/org/apache/cocoon/components/flow AbstractInterpreter.java Log: resolve forwardTo uri relative to cocoon:/ as it was previously Revision Changes Path 1.15 +4 -1 cocoon-2.1/src/java/org/apache/cocoon/components/flow/AbstractInterpreter.java Index: AbstractInterpreter.java =================================================================== RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/components/flow/AbstractInterpreter.java,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- AbstractInterpreter.java 19 Jan 2004 04:37:36 -0000 1.14 +++ AbstractInterpreter.java 19 Jan 2004 12:46:47 -0000 1.15 @@ -265,6 +265,9 @@ if (SourceUtil.indexOfSchemeColon(uri) != -1) { throw new Exception("uri is not allowed to contain a scheme (cocoon:/ is always automatically used)"); } + + uri = "cocoon:/" + uri; + Map objectModel = environment.getObjectModel(); FlowHelper.setWebContinuation(objectModel, continuation); FlowHelper.setContextObject(objectModel, bizData);