ActiveMQ.NMS URI Decoder
------------------------

                 Key: AMQNET-336
                 URL: https://issues.apache.org/jira/browse/AMQNET-336
             Project: ActiveMQ .Net
          Issue Type: Bug
          Components: NMS
    Affects Versions: 1.5.1
         Environment: C#.Net
            Reporter: Bob Thorman
            Assignee: Jim Gomes
            Priority: Minor


When encoding a complex subject name like "CN=Client, O=Organization, OU=Unit" 
using transport.clientCertSubject?CN%3DClient, O%3DOrganization, OU%3DUnit" to 
meet the URI encoding.  The method DoCreateTransport needs to decode that into 
a string properly using HttpUtility.UrlDecode or something similar.

Suggest the following:

Add System.Web to the project
Add Using System.Web to SslTransportFactory.cs
Change the following line in DoCreateTransport method:

transport.ClientCertSubject = HttpUtility.UrlDecode(this.clientCertSubject);

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to