Skip to content

Commit 7222259

Browse files
authored
MQE-1510 (#446)
1 parent b8d09e4 commit 7222259

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

etc/config/command.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
$tokenModel = $magentoObjectManager->get(\Magento\Integration\Model\Oauth\Token::class);
1313

1414
$tokenPassedIn = urldecode($_POST['token']);
15-
$command = str_replace([';', '&', '|'], '', urldecode($_POST['command']));
16-
$arguments = str_replace([';', '&', '|'], '', urldecode($_POST['arguments']));
15+
$command = urldecode($_POST['command']);
16+
$arguments = urldecode($_POST['arguments']);
1717

1818
// Token returned will be null if the token we passed in is invalid
1919
$tokenFromMagento = $tokenModel->loadByToken($tokenPassedIn)->getToken();

0 commit comments

Comments
 (0)