Permalink
Show file tree
Hide file tree
7 changes: 4 additions & 3 deletions
7
bundles/AdminBundle/Controller/Admin/DataObject/ClassificationstoreController.php
7 changes: 3 additions & 4 deletions
7
...es/AdminBundle/Resources/public/js/pimcore/object/classificationstore/collectionsPanel.js
7 changes: 3 additions & 4 deletions
7
bundles/AdminBundle/Resources/public/js/pimcore/object/classificationstore/groupsPanel.js
5 changes: 2 additions & 3 deletions
5
...les/AdminBundle/Resources/public/js/pimcore/object/classificationstore/propertiesPanel.js
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[Security] XSS in Classification Store of Data Objects module (#14933)
* Fix: xss in CS * Fix: implement feedback
- Loading branch information
Showing
6 changed files
with
40 additions
and
14 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| <?php | ||
|
|
||
| /** | ||
| * Pimcore | ||
| * | ||
| * This source file is available under two different licenses: | ||
| * - GNU General Public License version 3 (GPLv3) | ||
| * - Pimcore Commercial License (PCL) | ||
| * Full copyright and license information is available in | ||
| * LICENSE.md which is distributed with this source code. | ||
| * | ||
| * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) | ||
| * @license http://www.pimcore.org/license GPLv3 and PCL | ||
| */ | ||
|
|
||
| namespace Pimcore\Security; | ||
|
|
||
| class SecurityHelper | ||
| { | ||
| public static function getStringWithoutControlChars(string $text): string | ||
| { | ||
| return preg_replace('[\\\\<>"\'`!?/%$(){};,:|=]','', $text); | ||
| } | ||
| } |