Azure / Azure/azure-libraries-for-java

ServiceBus client fails with queues with slashes in the name

Open
#495 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bug customer-reported Service Bus
Dominant language
Java
Stars
97
Forks
102
PR merge metrics
No merged PRs in 30d

Description

Hi there,
we have a customer that created a few servicebus queues and they seem to been able to create them with a slash "/' in the name.
Example:
...../namespaces/usecsbut/queues/admiral_ets_v1.0/endpointtrackingservice.svc

This is making the Azure client throw an java.security.InvalidParameterException when calling the namespace.queues().list() method.

We're using the Azure libraries version 1.5.1.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the namespace.queues().list() path in the Azure libraries version 1.5.1 and trace how queue names containing slashes are handled. Done means listing queues such as endpointtrackingservice.svc succeeds without java.security.InvalidParameterException.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, java
Domain
cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.