unico 2004/03/26 08:45:31
Modified:
src/blocks/scratchpad/java/org/apache/cocoon/components/source/impl
CachingSourceFactory.java
Log:
filter caching source specific querystring properties
Revision Changes Path
1.8 +2 -2
cocoon-2.1/src/blocks/scratchpad/java/org/apache/cocoon/components/source/impl/CachingSourceFactory.java
Index: CachingSourceFactory.java
===================================================================
RCS file:
/home/cvs/cocoon-2.1/src/blocks/scratchpad/java/org/apache/cocoon/components/source/impl/CachingSourceFactory.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- CachingSourceFactory.java 23 Mar 2004 16:28:54 -0000 1.7
+++ CachingSourceFactory.java 26 Mar 2004 16:45:31 -0000 1.8
@@ -270,7 +270,7 @@
final Iterator names = sp.getParameterNames();
while (names.hasNext()) {
String name = (String) names.next();
- if (name.startsWith("cocoon:")) {
+ if (name.startsWith("cocoon:cache")) {
params.setParameter(name.substring("cocoon:".length()),
sp.getParameter(name));
sp.removeParameter(name);
}