ユーザー登録/編集時のニックネーム欄に半角・全角スペースが登録できてしまう件の修正#4454
Open
otsuka-star wants to merge 1 commit into
Open
Conversation
Collaborator
|
こちらもユニットテストが失敗しています。分からなかったら連絡くださいー @otsuka-star |
Contributor
|
上記以上、少し影響が大きい変更になる可能性があると感じました。 baserCMSでは、海外向けよりも日本語サイトでの利用が現状は多いと思われるため、姓・名にスペースを入力できなくしても、実際に問題となるケースはそれほど多くないかもしれません。 一方、ニックネームは氏名よりも自由な用途で使われます。
このようなニックネームを登録しているサイトをアップデートした場合、既存の値はそのまま残る一方で、 利用者から見ると、以前は登録できていた値が、アップデート後に突然バリデーションエラーになるため、混乱する可能性があります。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@ryuring
以下の改修を行いましたので、ご確認お願いします!
ユーザー登録/編集時のニックネーム欄に半角・全角スペースを入力して保存→「ニックネームに半角・全角スペースは使用できません。」というエラーメッセージが出て保存できないようにする。