Fixed a regex typo in the conversion filter from the last patch.
[java-idp.git] / src / edu / internet2 / middleware / shibboleth / utils / SAML1_0to1_1ConversionFilter.java
index 5927976..7a4c355 100644 (file)
@@ -313,7 +313,7 @@ public class SAML1_0to1_1ConversionFilter implements Filter {
 
                        //Substitute in a fake request id that is valid in SAML 1.1, but save the original so that we can put it
                        // back later
-                       regex = Pattern.compile("<(.+:)?Request[^>]+RequestID=['\"]([^\"]+)]'\"]");
+                       regex = Pattern.compile("<(.+:)?Request[^>]+RequestID=['\"]([^\"]+)['\"]");
                        matcher = regex.matcher(input);
                        if (matcher.find()) {
                                StringBuffer buff = new StringBuffer();