Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is a js error when secret contains chinese character #193

Closed
liqiangno1 opened this Issue Jan 3, 2019 · 3 comments

Comments

Projects
None yet
3 participants
@liqiangno1
Copy link

liqiangno1 commented Jan 3, 2019

Describe the bug
当secret中含有中文,发布时js报错,但页面没有任何提示。
我测试过直接在K8S中添加含有中文得secret,可以添加成功,dashboard后台显示乱码,我本地通过api读取到自己解码是没问题得。所以最好支持一下吧

To Reproduce
Steps to reproduce the behavior:

  1. 添加secret模板
  2. 任意添加一个含有中文得项
  3. 点击发布

Expected behavior
支持中文编码

Screenshots
image

Desktop (please complete the following information):

  • OS: windows10
  • Browser chrome

Server Version

- Kubernetes version: 1.12.1
- Wayne version: 1.1
@BennieMeng

This comment has been minimized.

Copy link
Collaborator

BennieMeng commented Jan 3, 2019

is this template should not have chinese message or allow?

@wilhelmguo

This comment has been minimized.

Copy link
Collaborator

wilhelmguo commented Jan 3, 2019

@846677234 Please change your title to English.

@liqiangno1 liqiangno1 changed the title secret中含有中文时报错 There isa js error when secret contains chinese character Jan 3, 2019

@liqiangno1 liqiangno1 changed the title There isa js error when secret contains chinese character There is a js error when secret contains chinese character Jan 3, 2019

@liqiangno1

This comment has been minimized.

Copy link
Author

liqiangno1 commented Jan 3, 2019

message

I think it should support chinese message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.