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/20 16:13:50 UTC
[I] Normalize DLQ action identifiers at the service boundary [rocketmq-dashboard]
yuluo-yx opened a new issue, #2470:
URL: https://github.com/apache/rocketmq-dashboard/issues/2470
## Problem
DLQ resend and export validate group names but pass the original padded values onward. Export therefore queries a different %DLQ% topic for values such as ` group-a `, while a padded explicit resend target can be sent as an invalid topic name.
## Expected behavior
Normalize required group names before both operations and normalize optional resend targets so surrounding whitespace is removed and blank values become absent.
## Verification
Add focused service delegation tests for padded groups, padded target topics, and blank optional targets.
--
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] Normalize DLQ action identifiers at the service boundary [rocketmq-dashboard]
Posted by "RockteMQ-AI (via GitHub)" <gi...@apache.org>.
RockteMQ-AI commented on issue #2470:
URL: https://github.com/apache/rocketmq-dashboard/issues/2470#issuecomment-5372280008
**Issue Evaluation**
Category: `bug` | Status: **Confirmed**
The issue is verified against the current codebase. In `DlqMessageController.java`, both `exportDlqMessage` and `batchExportDlqMessage` pass the raw `consumerGroup` value directly into `MixAll.DLQ_GROUP_TOPIC_PREFIX + consumerGroup` without trimming. Similarly, `DlqMessageServiceImpl.batchResendDlqMessage` forwards the original group value without normalization.
When a padded group name (e.g. `" group-a "`) reaches the export path, it queries a non-existent topic. When it reaches the resend path with an explicit target, whitespace-padded targets can produce invalid topic names.
**Root Cause:** Missing `.trim()` at the service boundary before constructing DLQ topic names.
**Impact:** DLQ export and resend operations silently fail or target wrong topics when input contains surrounding whitespace.
**Severity:** medium
An automated fix proposal may be generated. Reply `/approve` to proceed with PR generation.
---
*Automated evaluation by "github-manager-bot"*
--
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] Normalize DLQ action identifiers at the service boundary [rocketmq-dashboard]
Posted by "RockteMQ-AI (via GitHub)" <gi...@apache.org>.
RockteMQ-AI commented on issue #2470:
URL: https://github.com/apache/rocketmq-dashboard/issues/2470#issuecomment-5361727076
**Issue Evaluation**
Category: `bug` | Status: **Confirmed**
The reported issue has been verified against the current codebase.
**Root Cause:** `DlqMessageController.exportDlqMessage` and `batchExportDlqMessage` build the DLQ topic as `MixAll.DLQ_GROUP_TOPIC_PREFIX + consumerGroup` without trimming `consumerGroup`. `DlqMessageServiceImpl.batchResendDlqMessage` forwards `consumerGroup` and `topicName` unchanged. Optional resend target (`topicName`) is not trimmed and blank values are not treated as absent.
**Impact:** DLQ export queries the wrong `%DLQ%` topic when the consumer group has surrounding whitespace. Resend can send an invalid or unintended topic name. Affects `/dlqMessage/exportDlqMessage.do`, `/dlqMessage/batchExportDlqMessage.do`, `/dlqMessage/batchResendDlqMessage.do`.
**Severity:** Medium — operations can silently target wrong or invalid topics, mainly exploitable via direct API calls; the UI selects groups from a list so normal UI usage is less affected.
An automated fix proposal can be generated. Reply `/approve` to proceed with PR generation.
---
*Automated evaluation by *
--
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] Normalize DLQ action identifiers at the service boundary [rocketmq-dashboard]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #2470:
URL: https://github.com/apache/rocketmq-dashboard/issues/2470#issuecomment-5459084781
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] Normalize DLQ action identifiers at the service boundary [rocketmq-dashboard]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #2470: Normalize DLQ action identifiers at the service boundary
URL: https://github.com/apache/rocketmq-dashboard/issues/2470
--
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