From commits-return-17261-apmail-activemq-commits-archive=activemq.apache.org@activemq.apache.org Sat Nov 12 21:35:55 2011 Return-Path: X-Original-To: apmail-activemq-commits-archive@www.apache.org Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D740C952B for ; Sat, 12 Nov 2011 21:35:55 +0000 (UTC) Received: (qmail 35657 invoked by uid 500); 12 Nov 2011 21:35:55 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 35621 invoked by uid 500); 12 Nov 2011 21:35:55 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 35614 invoked by uid 99); 12 Nov 2011 21:35:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Nov 2011 21:35:55 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Nov 2011 21:35:54 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id A1F2D2388A02 for ; Sat, 12 Nov 2011 21:35:34 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1201333 - in /activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk: nant.build src/main/csharp/Transport/Tcp/SslTransportFactory.cs Date: Sat, 12 Nov 2011 21:35:34 -0000 To: commits@activemq.apache.org From: tabish@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20111112213534.A1F2D2388A02@eris.apache.org> Author: tabish Date: Sat Nov 12 21:35:34 2011 New Revision: 1201333 URL: http://svn.apache.org/viewvc?rev=1201333&view=rev Log: fix for: https://issues.apache.org/jira/browse/AMQNET-336 Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/nant.build activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Tcp/SslTransportFactory.cs Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/nant.build URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/nant.build?rev=1201333&r1=1201332&r2=1201333&view=diff ============================================================================== --- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/nant.build (original) +++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/nant.build Sat Nov 12 21:35:34 2011 @@ -76,6 +76,7 @@ + Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Tcp/SslTransportFactory.cs URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Tcp/SslTransportFactory.cs?rev=1201333&r1=1201332&r2=1201333&view=diff ============================================================================== --- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Tcp/SslTransportFactory.cs (original) +++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Tcp/SslTransportFactory.cs Sat Nov 12 21:35:34 2011 @@ -16,6 +16,7 @@ */ using System; +using System.Web; using System.Net.Sockets; namespace Apache.NMS.ActiveMQ.Transport.Tcp @@ -82,7 +83,7 @@ namespace Apache.NMS.ActiveMQ.Transport. Tracer.Debug("Creating new instance of the SSL Transport."); SslTransport transport = new SslTransport(location, socket, wireFormat); - transport.ClientCertSubject = this.clientCertSubject; + transport.ClientCertSubject = HttpUtility.UrlDecode(this.clientCertSubject); transport.ClientCertFilename = this.clientCertFilename; transport.ClientCertPassword = this.clientCertPassword; transport.ServerName = this.serverName;