activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Thorman (JIRA)" <jira+amq...@apache.org>
Subject [jira] [Updated] (AMQNET-336) ActiveMQ.NMS URI Decoder
Date Mon, 11 Jul 2011 22:26:59 GMT

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

Bob Thorman updated AMQNET-336:
-------------------------------

    Description: 
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);

  was:
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);


> 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

        

Mime
View raw message