You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (Resolved) (JIRA)" <ji...@apache.org> on 2011/11/12 22:37:54 UTC

[jira] [Resolved] (AMQNET-336) ActiveMQ.NMS URI Decoder

     [ https://issues.apache.org/jira/browse/AMQNET-336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Bish resolved AMQNET-336.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 1.6.0
         Assignee: Timothy Bish  (was: Jim Gomes)

Fix applied in trunk
                
> 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: Timothy Bish
>            Priority: Minor
>             Fix For: 1.6.0
>
>         Attachments: SslTransportFactory.cs
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira