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

fix: encode some character error with encodeURI #862

Merged
merged 2 commits into from
Aug 5, 2021

Conversation

daskyrk
Copy link
Contributor

@daskyrk daskyrk commented Aug 5, 2021

What this PR does / why we need it:

when encode some character such as emoji, will throw error and cause page crash.
image

Does this PR introduce a user interface change?

✅ No

ChangeLog

Language Changelog
🇺🇸 English Fix the crash problem that may occur when adding members with nicknames of special characters
🇨🇳 中文 修复添加成员时昵称为特殊字符可能出现的崩溃问题

Does this PR need be patched to older version?

✅ Yes(version is required)
release/1.2

Which issue(s) this PR fixes:

Fixes #

@daskyrk daskyrk added the bugfix Used in pr label Aug 5, 2021
@daskyrk daskyrk marked this pull request as draft August 5, 2021 12:00
@daskyrk daskyrk marked this pull request as ready for review August 5, 2021 13:08
@Zero-Rock
Copy link
Contributor

/approve

@erda-bot erda-bot added the approved Auto tagged by robot label Aug 5, 2021
@erda-bot erda-bot merged commit bd0d37d into erda-project:master Aug 5, 2021
@Zero-Rock
Copy link
Contributor

/cherry-pick release/1.2

erda-bot pushed a commit to erda-bot/erda-ui that referenced this pull request Aug 5, 2021
* fix: encode some character error

* test: add image holder test
daskyrk added a commit that referenced this pull request Aug 5, 2021
* fix: encode some character error

* test: add image holder test

Co-authored-by: 随风 <daskyrk@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Auto tagged by robot bugfix Used in pr
Development

Successfully merging this pull request may close these issues.

3 participants