this is a patch that fixes a problem I had when using the "protected void add(int
type, ParameterParser pp) " method after a file is uploaded or when the old
actionevent is added to the query.
Index: DynamicURI.java
===================================================================
RCS file:
/home/cvspublic/jakarta-turbine-2/src/java/org/apache/turbine/util/DynamicURI.java,v
retrieving revision 1.21
diff -u -r1.21 DynamicURI.java
--- DynamicURI.java 7 May 2003 16:02:00 -0000 1.21
+++ DynamicURI.java 23 Jun 2003 07:48:10 -0000
@@ -389,6 +389,7 @@
{
String key = (String) iter.next();
if (!key.equalsIgnoreCase(URIConstants.CGI_ACTION_PARAM) &&
+ !key.equalsIgnoreCase("file") &&
!key.startsWith(URIConstants.EVENT_PREFIX) &&
!key.equalsIgnoreCase(URIConstants.CGI_SCREEN_PARAM) &&
!key.equalsIgnoreCase(URIConstants.CGI_TEMPLATE_PARAM))
{