Skip to content
This repository was archived by the owner on Oct 15, 2025. It is now read-only.

Smctl register-broker URL validation #85

@stefanvassilev

Description

@stefanvassilev

Issue Template

Step 1: Is this issue for here?

most likely

Step 2: Describe the problem (very short text description)

Calling smctl register-broker passing url ending with a / results in error as the resulting call to the service broker contains the extra slash

call received by service broker:

GET //v2/catalog HTTP/1.1" 400

Step 3: Describe the problem (steps):

smctl register-broker BROKER_NAME https://*/ -b ****:****

Observed Results:

Error: request POST .... failed: Status code: 400 Body: {"error":"ServiceBrokerErr","description":"error fetching catalog for broker with name *****: broker responded with 400 Bad Request"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions