Skip to content

[Bug]: names of queues and topic are not urlencoded when used in the request url, also repeatable query params are not supported by SEMP #8

@peetkes

Description

@peetkes

Bug Description

I have queues with names like:
#P2P/QTMP/v:solace/workshop/q/a2a/OrchestratorAgent/txFlows
when the solace_mcp-server tries to get monitor information for such queues it will try to use this url: [broker:port]/SEMP/v2/monitor/msgVpns/default/queues/#P2P/QTMP/v:solace/workshop/q/a2a/OrchestratorAgent/txFlows
This will result in an error because the queue name is not urlencoded.
API request failed: 400 Client Error: Bad Request for url: http://solace:8080/SEMP/v2/monitor/msgVpns/default/queues/#P2P/QTMP/v:solace/workshop/q/a2a/OrchestratorAgent/txFlows
not sure if there are any more properties that should be url encoded when used in the request url. <Most likely subscriptions and exceptions

Expected Behavior

It should urlencode the names for those specific fields (queueName for sure)

Steps to Reproduce

Try to request monitoring info for the broker that is used in sam enterprise

Solace Broker version

No response

Solace API

No response

Solace API version

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions