felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rickh...@apache.org
Subject svn commit: r1415493 - /felix/trunk/framework/src/main/java/org/apache/felix/framework/util/manifestparser/ManifestParser.java
Date Fri, 30 Nov 2012 03:56:52 GMT
Author: rickhall
Date: Fri Nov 30 03:56:52 2012
New Revision: 1415493

URL: http://svn.apache.org/viewvc?rev=1415493&view=rev
Log:
Delimited string parser was not correctly handling escaping of the escape
character. (FELIX-3632)

Modified:
    felix/trunk/framework/src/main/java/org/apache/felix/framework/util/manifestparser/ManifestParser.java

Modified: felix/trunk/framework/src/main/java/org/apache/felix/framework/util/manifestparser/ManifestParser.java
URL: http://svn.apache.org/viewvc/felix/trunk/framework/src/main/java/org/apache/felix/framework/util/manifestparser/ManifestParser.java?rev=1415493&r1=1415492&r2=1415493&view=diff
==============================================================================
--- felix/trunk/framework/src/main/java/org/apache/felix/framework/util/manifestparser/ManifestParser.java
(original)
+++ felix/trunk/framework/src/main/java/org/apache/felix/framework/util/manifestparser/ManifestParser.java
Fri Nov 30 03:56:52 2012
@@ -1760,7 +1760,7 @@ public class ManifestParser
 
             boolean isDelimiter = (delim.indexOf(c) >= 0);
 
-            if (c == '\\')
+            if (!isEscaped && (c == '\\'))
             {
                 isEscaped = true;
                 continue;



Mime
View raw message