You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "yuluo-yx (via GitHub)" <gi...@apache.org> on 2026/08/11 13:29:25 UTC
[I] [Bug] Permission glob paths interpret regex metacharacters [rocketmq-dashboard]
yuluo-yx opened a new issue, #1761:
URL: https://github.com/apache/rocketmq-dashboard/issues/1761
**BUG REPORT**
1. Please describe the issue you observed:
- What did you do (the steps to reproduce)?
Evaluate the default permission pattern `/topic/*.query` against `/topic/routeXquery`, or configure a literal path containing an unmatched bracket.
- What did you expect to see?
Only `*`, `**`, and `?` should have wildcard meaning. The dot and other regex metacharacters in configured paths should be matched literally.
- What did you see instead?
`MatcherUtil` copies every non-wildcard character directly into a Java regular expression. The dot matches any character, so `/topic/*.query` accepts `/topic/routeXquery`; characters such as `[` can also make pattern compilation fail.
2. Please tell us about your environment:
- apache/rocketmq-dashboard master
- baseline commit `770822bbc812bfd0c2a94aa0128ab6f59b50d076`
- JDK 17
3. Other information:
The glob converter should escape Java regex metacharacters while preserving the existing wildcard semantics for `*`, `**`, and `?`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] Permission glob paths interpret regex metacharacters [rocketmq-dashboard]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #1761:
URL: https://github.com/apache/rocketmq-dashboard/issues/1761#issuecomment-5349558097
This issue has been automatically closed because there has been no activity for 7 days. If you believe this issue is still relevant, please reopen it with updated information.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] Permission glob paths interpret regex metacharacters [rocketmq-dashboard]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #1761: [Bug] Permission glob paths interpret regex metacharacters
URL: https://github.com/apache/rocketmq-dashboard/issues/1761
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org