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

【システム】固定ページ書き出し・読み込み時の確認アラート内の/がエスケープされて表示される #1518

Closed
seto1 opened this issue Jul 20, 2020 · 1 comment

Comments

@seto1
Copy link
Collaborator

seto1 commented Jul 20, 2020

概要

管理画面で固定ページ書き出し・読み込みを行う際に表示される確認アラート内の/の前に\が入って表示されます。

スクリーンショット_2020-07-20_15_31_24

baserCMS version : 4.3.6-dev

備考

lib/Cake/View/Helper->_confirm内でメッセージがjsonエンコードされているのが原因のようです。

最新のcakeではjsonエンコードは行わないようになっているみたいです。
https://github.com/cakephp/cakephp/blob/master/src/View/Helper/HtmlHelper.php#L287
https://github.com/cakephp/cakephp/blob/master/src/View/Helper.php#L138

該当コミット
cakephp/cakephp@5b63bbe

@seto1
Copy link
Collaborator Author

seto1 commented Nov 16, 2020

3263d01 にて修正されたのでクローズします。

@seto1 seto1 closed this as completed Nov 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant