commit | 2d8c1dfdd997680ce0aeff429bdcdef4570aa204 | [log] [tgz] |
---|---|---|
author | Felix Meschberger <fmeschbe@apache.org> | Tue Jan 26 15:35:41 2010 +0000 |
committer | Felix Meschberger <fmeschbe@apache.org> | Tue Jan 26 15:35:41 2010 +0000 |
tree | 6e81b50764e5bf097dc67d197b3ceecd4693acfe | |
parent | 70c3704a6658946ad00b95b33b4258fea1090dc8 [diff] |
Reset writer state if $ is not followed with { git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@903275 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/webconsole/src/main/java/org/apache/felix/webconsole/internal/filter/ResourceFilteringWriter.java b/webconsole/src/main/java/org/apache/felix/webconsole/internal/filter/ResourceFilteringWriter.java index ed38cdf..71ab158 100644 --- a/webconsole/src/main/java/org/apache/felix/webconsole/internal/filter/ResourceFilteringWriter.java +++ b/webconsole/src/main/java/org/apache/felix/webconsole/internal/filter/ResourceFilteringWriter.java
@@ -138,6 +138,7 @@ } else { + state = STATE_NULL; out.write( '$' ); out.write( c ); } @@ -162,6 +163,7 @@ out.write( '\\' ); } out.write( c ); + break; } }