Wasn't properly encoding artifact in transaction log.
authorwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 7 Apr 2005 20:01:27 +0000 (20:01 +0000)
committerwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 7 Apr 2005 20:01:27 +0000 (20:01 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@1384 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/idp/provider/ShibbolethV1SSOHandler.java

index 9beddf8..44b03de 100644 (file)
@@ -256,7 +256,7 @@ public class ShibbolethV1SSOHandler extends SSOHandler implements IdPProtocolHan
                // Construct the artifact query parameter
                while (iterator.hasNext()) {
                        Artifact artifact = (Artifact) iterator.next();
                // Construct the artifact query parameter
                while (iterator.hasNext()) {
                        Artifact artifact = (Artifact) iterator.next();
-                       artifactBuffer.append("(" + artifact + ")");
+                       artifactBuffer.append("(" + artifact.encode() + ")");
                        destination.append("&SAMLart=");
                        destination.append(URLEncoder.encode(artifact.encode(), "UTF-8"));
                }
                        destination.append("&SAMLart=");
                        destination.append(URLEncoder.encode(artifact.encode(), "UTF-8"));
                }