Skip to content

Commit 7b71402

Browse files
committed
AC-10815 - API Input validation
1 parent 1d7a2d5 commit 7b71402

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/internal/Magento/Framework/Webapi/ServiceInputProcessor.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@
3838
*/
3939
class ServiceInputProcessor implements ServicePayloadConverterInterface, ResetAfterRequestInterface
4040
{
41-
public const EXTENSION_ATTRIBUTES_TYPE = \Magento\Framework\Api\ExtensionAttributesInterface::class;
42-
4341
/**
4442
* Input param to be rejected when it contains xml content
4543
*/
46-
public const REJECTED_INPUT_PARAM_SOURCEDATA = 'sourcedata';
44+
private const REJECTED_INPUT_PARAM_SOURCEDATA = 'sourcedata';
45+
46+
public const EXTENSION_ATTRIBUTES_TYPE = \Magento\Framework\Api\ExtensionAttributesInterface::class;
4747

4848
/**
4949
* @var TypeProcessor

0 commit comments

Comments
 (0)