[phpMyAdmin Git] [phpmyadmin/phpmyadmin] 83d950: Bug fix: Fix triple HTML encoding

Kamil Tekiela tekiela246 at gmail.com
Tue Dec 21 16:56:33 CET 2021


Branch: refs/heads/QA_5_1
Home: https://github.com/phpmyadmin/phpmyadmin
Commit: 83d950ed40a1d9e923d2191aa6170852eb66d199
https://github.com/phpmyadmin/phpmyadmin/commit/83d950ed40a1d9e923d2191aa6170852eb66d199
Author: Kamil Tekiela <tekiela246 at gmail.com>
Date: 2021-12-14 (Tue, 12 December 2021) +00:00

Changed paths: 
M js/src/indexes.js
M libraries/classes/Controllers/Table/RelationController.php
M templates/indexes.twig
M templates/server/databases/index.twig
M templates/table/relation/foreign_key_row.twig
M templates/table/structure/display_structure.twig

Log Message:
-----------
Bug fix: Fix triple HTML encoding

Some values were encoded into HTML entities thrice. This commit removes
unnecessary HTML escaping.

Signed-off-by: Kamil Tekiela <tekiela246 at gmail.com>

Commit: 903afe871ba43b3b0b1195c2a381f5a1079f59cf
https://github.com/phpmyadmin/phpmyadmin/commit/903afe871ba43b3b0b1195c2a381f5a1079f59cf
Author: Kamil Tekiela <tekiela246 at gmail.com>
Date: 2021-12-14 (Tue, 12 December 2021) +00:00

Changed paths: 
M libraries/classes/Display/Results.php

Log Message:
-----------
Bug fix: SQL string in confirmation popup should not be escaped

The values of < > ' " & are double escaped in the confirmation dialog.
Since the values are inserted via twig into HTML, there is no need to
escape them twice.

Signed-off-by: Kamil Tekiela <tekiela246 at gmail.com>

Commit: d93b60e238a9cdcbf7d85b15a7949c3de4265287
https://github.com/phpmyadmin/phpmyadmin/commit/d93b60e238a9cdcbf7d85b15a7949c3de4265287
Author: Maurício Meneghini Fauth <mauricio at fauth.dev>
Date: 2021-12-21 (Tue, 12 December 2021) -03:00

Changed paths: 
M js/src/indexes.js
M libraries/classes/Controllers/Table/RelationController.php
M libraries/classes/Display/Results.php
M templates/indexes.twig
M templates/server/databases/index.twig
M templates/table/relation/foreign_key_row.twig
M templates/table/structure/display_structure.twig

Log Message:
-----------
Merge pull request #17247 from kamil-tekiela/HTML-entities-5_1

Bug fix: Fix triple HTML encoding



More information about the Git mailing list