Skip to content

Commit fc0aa1d

Browse files
committed
Fix bug in handling UTF-8 strings in protobuf
1 parent 68e9970 commit fc0aa1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/plugin.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ func (p *Plugin) OnTrafficFromClient(
165165
signals, err := v1.NewList([]any{
166166
sdkAct.Terminate().ToMap(),
167167
sdkAct.Log("debug", "Returning cached response", map[string]any{
168-
"cacheKey": cacheKey,
168+
"cacheKey": []byte(cacheKey),
169169
"plugin": PluginID.GetName(),
170170
}).ToMap(),
171171
})

0 commit comments

Comments
 (0)