You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Kim van der Riet (JIRA)" <qp...@incubator.apache.org> on 2009/10/29 13:16:59 UTC

[jira] Created: (QPID-2171) No checks made for reserved exchange names "amq.*" and "qpid.*"

No checks made for reserved exchange names "amq.*" and "qpid.*"
---------------------------------------------------------------

                 Key: QPID-2171
                 URL: https://issues.apache.org/jira/browse/QPID-2171
             Project: Qpid
          Issue Type: Bug
          Components: C++ Broker
    Affects Versions: 0.5
            Reporter: Kim van der Riet
            Assignee: Kim van der Riet


The AMQP specification requires that exchange names starting with "amq." are reserved, and that a user must not be allowed to create exchanges starting with this string.

Similarly, exchanges starting with the string "qpid." have been reserved for system exchanges that are a part of the Qpid implementation but not specified in the AMQP specification.

Currently these checks are not being made by the broker. The broker should check the names of exchanges when they are declared from the client and return a 530 (not allowed) error if they start with either of these reserved strings. A test to check this functionality should be included with the fix.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Closed: (QPID-2171) No checks made for reserved exchange names "amq.*" and "qpid.*"

Posted by "Kim van der Riet (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-2171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kim van der Riet closed QPID-2171.
----------------------------------

    Resolution: Fixed

Added the "amq." check in r.830930 and the "qpid." check in r.830930.

Python tests added which check that these prefixes are properly rejected by the broker.

> No checks made for reserved exchange names "amq.*" and "qpid.*"
> ---------------------------------------------------------------
>
>                 Key: QPID-2171
>                 URL: https://issues.apache.org/jira/browse/QPID-2171
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: 0.5
>            Reporter: Kim van der Riet
>            Assignee: Kim van der Riet
>
> The AMQP specification requires that exchange names starting with "amq." are reserved, and that a user must not be allowed to create exchanges starting with this string.
> Similarly, exchanges starting with the string "qpid." have been reserved for system exchanges that are a part of the Qpid implementation but not specified in the AMQP specification.
> Currently these checks are not being made by the broker. The broker should check the names of exchanges when they are declared from the client and return a 530 (not allowed) error if they start with either of these reserved strings. A test to check this functionality should be included with the fix.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Commented: (QPID-2171) No checks made for reserved exchange names "amq.*" and "qpid.*"

Posted by "Kim van der Riet (JIRA)" <qp...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-2171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12771413#action_12771413 ] 

Kim van der Riet commented on QPID-2171:
----------------------------------------

Copy error above. First sentence should read:

Added the "amq." check in r.830751 and the "qpid." check in r.830930. 

> No checks made for reserved exchange names "amq.*" and "qpid.*"
> ---------------------------------------------------------------
>
>                 Key: QPID-2171
>                 URL: https://issues.apache.org/jira/browse/QPID-2171
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: 0.5
>            Reporter: Kim van der Riet
>            Assignee: Kim van der Riet
>
> The AMQP specification requires that exchange names starting with "amq." are reserved, and that a user must not be allowed to create exchanges starting with this string.
> Similarly, exchanges starting with the string "qpid." have been reserved for system exchanges that are a part of the Qpid implementation but not specified in the AMQP specification.
> Currently these checks are not being made by the broker. The broker should check the names of exchanges when they are declared from the client and return a 530 (not allowed) error if they start with either of these reserved strings. A test to check this functionality should be included with the fix.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org