cloudfoundry / cloudfoundry/stratos
Double byte characters cannot be used in Cloud Foundry name when registering Endpoint.
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 267
- Forks
- 137
- Avg merge
- 5h 14m
- Merged PRs (30d)
- 77
Description
Stratos Version
4.4.0
Frontend Deployment type
- Cloud Foundry Application (cf push)
- Kubernetes, using a helm chart
- Docker, single container deploying all components
- npm run start
- Other (please specify below)
Backend (Jet Stream) Deployment type
- Cloud Foundry Application (cf push)
- Kubernetes, using a helm chart
- Docker, single container deploying all components
- Other (please specify below)
Expected behaviour
Double byte characters can be used in Cloud Foundry name when registering Endpoint.
Please help to confirm if the endpoint name can support double byte characters or not? Thanks.
Actual behaviour
Double byte characters cannot be used in Cloud Foundry name when registering Endpoint.
Steps to reproduce the behavior
- Click '+' icon to register a new Endpoint
- Select Cloud Foundry as the type of the endpoint to register
- Input Double byte characters in Name, for example : 注册测试
- Input a valid Endpoint address
- Check 'Skip SSL validation for the endpoint'
- Click 'Register' button
Log output covering before error and any error statements
Insert log hereCopy
It always prompt that there was a problem creating the endpoint an need try again.

But with the same Endpoint address & English alphabets for name, it can be register successfully. For example: test

Detailed Description
Context
Possible Implementation
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the endpoint registration flow opened by the '+' icon, select Cloud Foundry, and trace how the name and endpoint address are submitted. Reproduce with the name 注册测试 and compare it with test; done means a Cloud Foundry endpoint with double-byte characters registers successfully without the generic creation error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, kubernetes, typescript
- Domain
- cloud, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100