You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Bob Thorman (JIRA)" <ji...@apache.org> on 2011/07/12 00:24:59 UTC

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

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

        

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

Posted by "Timothy Bish (Resolved) (JIRA)" <ji...@apache.org>.
     [ 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

        

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

Posted by "Bob Thorman (JIRA)" <ji...@apache.org>.
     [ 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

        

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

Posted by "Bob Thorman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AMQNET-336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment: SslTransportFactory.cs

> 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
>         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.
For more information on JIRA, see: http://www.atlassian.com/software/jira