mirror of
https://github.com/YspCoder/clawgo.git
synced 2026-05-04 09:07:29 +08:00
normalize-policy: preserve raw casing/spacing in action-content sensitive paths (phase-3)
This commit is contained in:
@@ -9,7 +9,6 @@ package channels
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"strings"
|
||||
"sync"
|
||||
"sync/atomic"
|
||||
|
||||
@@ -298,7 +297,7 @@ func (m *Manager) dispatchOutbound(ctx context.Context) {
|
||||
continue
|
||||
}
|
||||
|
||||
action := strings.ToLower(strings.TrimSpace(msg.Action))
|
||||
action := msg.Action
|
||||
if action == "" {
|
||||
action = "send"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user