You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by "Lionel Cons (Created) (JIRA)" <ji...@apache.org> on 2012/01/25 08:25:41 UTC
[jira] [Created] (APLO-136) Broker complains when a dot is used in
a dsub name
Broker complains when a dot is used in a dsub name
--------------------------------------------------
Key: APLO-136
URL: https://issues.apache.org/jira/browse/APLO-136
Project: ActiveMQ Apollo
Issue Type: Bug
Environment: apollo-1.0-20120124.204817-255
Reporter: Lionel Cons
The user manual states that: "Destination names are restricted to using the characters a-z, A-Z, 0-9, _, - %, ~, ' ', or . in addition to composite separator , and the wild card *.".
But when using a dot in a dsub, I get:
2012-01-25 08:20:15,588 | WARN | org.apache.activemq.apollo.util.path.PathParser$PathException: Invalid destination: 'test.mbtf.bb.e37a3633.c2', it does not match regex: [ a-zA-Z0-9\_\-\%\~]+ | org.apache.activemq.apollo.broker.Broker | hawtdispatch-DEFAULT-1
Could dots be allowed in dsub too?
--
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] (APLO-136) Broker complains when a dot is used in
a dsub name
Posted by "Hiram Chirino (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/APLO-136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hiram Chirino updated APLO-136:
-------------------------------
Fix Version/s: (was: 1.1)
1.0
> Broker complains when a dot is used in a dsub name
> --------------------------------------------------
>
> Key: APLO-136
> URL: https://issues.apache.org/jira/browse/APLO-136
> Project: ActiveMQ Apollo
> Issue Type: Bug
> Affects Versions: 1.0
> Environment: apollo-1.0-20120124.204817-255
> Reporter: Lionel Cons
> Assignee: Hiram Chirino
> Fix For: 1.0
>
>
> The user manual states that: "Destination names are restricted to using the characters a-z, A-Z, 0-9, _, - %, ~, ' ', or . in addition to composite separator , and the wild card *.".
> But when using a dot in a dsub, I get:
> 2012-01-25 08:20:15,588 | WARN | org.apache.activemq.apollo.util.path.PathParser$PathException: Invalid destination: 'test.mbtf.bb.e37a3633.c2', it does not match regex: [ a-zA-Z0-9\_\-\%\~]+ | org.apache.activemq.apollo.broker.Broker | hawtdispatch-DEFAULT-1
> Could dots be allowed in dsub too?
--
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] [Commented] (APLO-136) Broker complains when a dot is used
in a dsub name
Posted by "Lionel Cons (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/APLO-136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13204312#comment-13204312 ]
Lionel Cons commented on APLO-136:
----------------------------------
Hiram, I've tested 1.1-20120209.032648-24 and I confirm that this seems now fixed. Thanks!
> Broker complains when a dot is used in a dsub name
> --------------------------------------------------
>
> Key: APLO-136
> URL: https://issues.apache.org/jira/browse/APLO-136
> Project: ActiveMQ Apollo
> Issue Type: Bug
> Affects Versions: 1.0
> Environment: apollo-1.0-20120124.204817-255
> Reporter: Lionel Cons
> Assignee: Hiram Chirino
> Fix For: 1.1
>
>
> The user manual states that: "Destination names are restricted to using the characters a-z, A-Z, 0-9, _, - %, ~, ' ', or . in addition to composite separator , and the wild card *.".
> But when using a dot in a dsub, I get:
> 2012-01-25 08:20:15,588 | WARN | org.apache.activemq.apollo.util.path.PathParser$PathException: Invalid destination: 'test.mbtf.bb.e37a3633.c2', it does not match regex: [ a-zA-Z0-9\_\-\%\~]+ | org.apache.activemq.apollo.broker.Broker | hawtdispatch-DEFAULT-1
> Could dots be allowed in dsub too?
--
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] [Resolved] (APLO-136) Broker complains when a dot is used in
a dsub name
Posted by "Hiram Chirino (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/APLO-136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hiram Chirino resolved APLO-136.
--------------------------------
Resolution: Fixed
> Broker complains when a dot is used in a dsub name
> --------------------------------------------------
>
> Key: APLO-136
> URL: https://issues.apache.org/jira/browse/APLO-136
> Project: ActiveMQ Apollo
> Issue Type: Bug
> Affects Versions: 1.0
> Environment: apollo-1.0-20120124.204817-255
> Reporter: Lionel Cons
> Assignee: Hiram Chirino
> Fix For: 1.1
>
>
> The user manual states that: "Destination names are restricted to using the characters a-z, A-Z, 0-9, _, - %, ~, ' ', or . in addition to composite separator , and the wild card *.".
> But when using a dot in a dsub, I get:
> 2012-01-25 08:20:15,588 | WARN | org.apache.activemq.apollo.util.path.PathParser$PathException: Invalid destination: 'test.mbtf.bb.e37a3633.c2', it does not match regex: [ a-zA-Z0-9\_\-\%\~]+ | org.apache.activemq.apollo.broker.Broker | hawtdispatch-DEFAULT-1
> Could dots be allowed in dsub too?
--
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] [Resolved] (APLO-136) Broker complains when a dot is used in
a dsub name
Posted by "Hiram Chirino (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/APLO-136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hiram Chirino resolved APLO-136.
--------------------------------
Resolution: Fixed
Fixed.
> Broker complains when a dot is used in a dsub name
> --------------------------------------------------
>
> Key: APLO-136
> URL: https://issues.apache.org/jira/browse/APLO-136
> Project: ActiveMQ Apollo
> Issue Type: Bug
> Affects Versions: 1.0
> Environment: apollo-1.0-20120124.204817-255
> Reporter: Lionel Cons
> Assignee: Hiram Chirino
> Fix For: 1.1
>
>
> The user manual states that: "Destination names are restricted to using the characters a-z, A-Z, 0-9, _, - %, ~, ' ', or . in addition to composite separator , and the wild card *.".
> But when using a dot in a dsub, I get:
> 2012-01-25 08:20:15,588 | WARN | org.apache.activemq.apollo.util.path.PathParser$PathException: Invalid destination: 'test.mbtf.bb.e37a3633.c2', it does not match regex: [ a-zA-Z0-9\_\-\%\~]+ | org.apache.activemq.apollo.broker.Broker | hawtdispatch-DEFAULT-1
> Could dots be allowed in dsub too?
--
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] (APLO-136) Broker complains when a dot is used in
a dsub name
Posted by "Hiram Chirino (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/APLO-136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hiram Chirino updated APLO-136:
-------------------------------
Fix Version/s: (was: 1.0)
1.1
> Broker complains when a dot is used in a dsub name
> --------------------------------------------------
>
> Key: APLO-136
> URL: https://issues.apache.org/jira/browse/APLO-136
> Project: ActiveMQ Apollo
> Issue Type: Bug
> Affects Versions: 1.0
> Environment: apollo-1.0-20120124.204817-255
> Reporter: Lionel Cons
> Assignee: Hiram Chirino
> Fix For: 1.1
>
>
> The user manual states that: "Destination names are restricted to using the characters a-z, A-Z, 0-9, _, - %, ~, ' ', or . in addition to composite separator , and the wild card *.".
> But when using a dot in a dsub, I get:
> 2012-01-25 08:20:15,588 | WARN | org.apache.activemq.apollo.util.path.PathParser$PathException: Invalid destination: 'test.mbtf.bb.e37a3633.c2', it does not match regex: [ a-zA-Z0-9\_\-\%\~]+ | org.apache.activemq.apollo.broker.Broker | hawtdispatch-DEFAULT-1
> Could dots be allowed in dsub too?
--
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] [Commented] (APLO-136) Broker complains when a dot is used
in a dsub name
Posted by "Hiram Chirino (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/APLO-136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13204069#comment-13204069 ]
Hiram Chirino commented on APLO-136:
------------------------------------
I Lionel, I think the lastest 1.1-SNAPSHOT should have to fixed now. Could you confirm for me? Thanks!
> Broker complains when a dot is used in a dsub name
> --------------------------------------------------
>
> Key: APLO-136
> URL: https://issues.apache.org/jira/browse/APLO-136
> Project: ActiveMQ Apollo
> Issue Type: Bug
> Affects Versions: 1.0
> Environment: apollo-1.0-20120124.204817-255
> Reporter: Lionel Cons
> Assignee: Hiram Chirino
> Fix For: 1.1
>
>
> The user manual states that: "Destination names are restricted to using the characters a-z, A-Z, 0-9, _, - %, ~, ' ', or . in addition to composite separator , and the wild card *.".
> But when using a dot in a dsub, I get:
> 2012-01-25 08:20:15,588 | WARN | org.apache.activemq.apollo.util.path.PathParser$PathException: Invalid destination: 'test.mbtf.bb.e37a3633.c2', it does not match regex: [ a-zA-Z0-9\_\-\%\~]+ | org.apache.activemq.apollo.broker.Broker | hawtdispatch-DEFAULT-1
> Could dots be allowed in dsub too?
--
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] (APLO-136) Broker complains when a dot is used in
a dsub name
Posted by "Hiram Chirino (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/APLO-136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hiram Chirino updated APLO-136:
-------------------------------
Affects Version/s: 1.0
Fix Version/s: 1.1
Assignee: Hiram Chirino
Yep should be doable.
> Broker complains when a dot is used in a dsub name
> --------------------------------------------------
>
> Key: APLO-136
> URL: https://issues.apache.org/jira/browse/APLO-136
> Project: ActiveMQ Apollo
> Issue Type: Bug
> Affects Versions: 1.0
> Environment: apollo-1.0-20120124.204817-255
> Reporter: Lionel Cons
> Assignee: Hiram Chirino
> Fix For: 1.1
>
>
> The user manual states that: "Destination names are restricted to using the characters a-z, A-Z, 0-9, _, - %, ~, ' ', or . in addition to composite separator , and the wild card *.".
> But when using a dot in a dsub, I get:
> 2012-01-25 08:20:15,588 | WARN | org.apache.activemq.apollo.util.path.PathParser$PathException: Invalid destination: 'test.mbtf.bb.e37a3633.c2', it does not match regex: [ a-zA-Z0-9\_\-\%\~]+ | org.apache.activemq.apollo.broker.Broker | hawtdispatch-DEFAULT-1
> Could dots be allowed in dsub too?
--
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] [Reopened] (APLO-136) Broker complains when a dot is used in
a dsub name
Posted by "Lionel Cons (Reopened) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/APLO-136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lionel Cons reopened APLO-136:
------------------------------
The fix breaks access control :-(
My config allows the guest user to use destinations starting with test.
<access_rule allow="guests" action="create destroy send receive consume" kind="topic queue dsub" id_regex="test\..*"/>
When using such a dsub, the (guest) client gets an error:
Not authorized to create the dsub 'test%2embtf%2ebb%2e2e339246%2ec1'. Principals=[org.apache.activemq.jaas.GroupPrincipal:guests, org.apache.activemq.jaas.UserPrincipal:guest]
FWIW, the same test was working fine with previous snapshots.
> Broker complains when a dot is used in a dsub name
> --------------------------------------------------
>
> Key: APLO-136
> URL: https://issues.apache.org/jira/browse/APLO-136
> Project: ActiveMQ Apollo
> Issue Type: Bug
> Affects Versions: 1.0
> Environment: apollo-1.0-20120124.204817-255
> Reporter: Lionel Cons
> Assignee: Hiram Chirino
> Fix For: 1.0
>
>
> The user manual states that: "Destination names are restricted to using the characters a-z, A-Z, 0-9, _, - %, ~, ' ', or . in addition to composite separator , and the wild card *.".
> But when using a dot in a dsub, I get:
> 2012-01-25 08:20:15,588 | WARN | org.apache.activemq.apollo.util.path.PathParser$PathException: Invalid destination: 'test.mbtf.bb.e37a3633.c2', it does not match regex: [ a-zA-Z0-9\_\-\%\~]+ | org.apache.activemq.apollo.broker.Broker | hawtdispatch-DEFAULT-1
> Could dots be allowed in dsub too?
--
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