ballerina-platform / ballerina-library

The Ballerina Library
https://ballerina.io/learn/api-docs/ballerina/
Apache License 2.0
136 stars 64 forks source link

Ballerina service base path is being showed with escape character in ICP #7063

Open gabilang opened 1 month ago

gabilang commented 1 month ago

Description:

If a service path contains escape characters, ICP displays the name with the escape characters.

service /hello/\-world on new http:Listener(9093) {

    resource function get sayHello() returns string {
        return "Hello, World!";
    }
}

ICP displays the service base path as /hello/\-world

Steps to reproduce:

Affected Versions:

OS, DB, other environment details and versions:

Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):