cloudfoundry / cloudfoundry/stratos

Double byte characters cannot be used in Cloud Foundry name when registering Endpoint.

Open
#4,889 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

community
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
  1. Click '+' icon to register a new Endpoint
  2. Select Cloud Foundry as the type of the endpoint to register
  3. Input Double byte characters in Name, for example : 注册测试
  4. Input a valid Endpoint address
  5. Check 'Skip SSL validation for the endpoint'
  6. 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.
image

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

Detailed Description
Context
Possible Implementation

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.