Bug in regex preventing correct artifact confirmation conversion from 1.1 to 1.0.
authorwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Fri, 8 Apr 2005 20:50:30 +0000 (20:50 +0000)
committerwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Fri, 8 Apr 2005 20:50:30 +0000 (20:50 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@1391 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/utils/SAML1_0to1_1ConversionFilter.java

index ecde6c7..3f0c9ac 100644 (file)
@@ -205,7 +205,7 @@ public class SAML1_0to1_1ConversionFilter implements Filter {
 
                        //Replace deprecated artifact confirmation method
                        regex = Pattern
-                                       .compile("<(.+:)?ConfirmationMethod>(urn:oasis:names:tc:SAML:1.0:cm:artifact)</<(.+:)?ConfirmationMethod>");
+                                       .compile("<(.+:)?ConfirmationMethod>(urn:oasis:names:tc:SAML:1.0:cm:artifact)</(.+:)?ConfirmationMethod>");
                        matcher = regex.matcher(result);
                        buff = new StringBuffer();
                        end = 0;