Skip to content

Commit e090a13

Browse files
Do not take opaque data from $_GET
1 parent 1676edd commit e090a13

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/Message/AIMAbstractRequest.php

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,7 @@ public function setInvoiceNumber($value)
166166
*/
167167
public function getOpaqueDataDescriptor()
168168
{
169-
return $this->getParameter('opaqueDataDescriptor')
170-
? $this->getParameter('opaqueDataDescriptor')
171-
: $this->httpRequest->request->get('opaqueDataDescriptor');
169+
return $this->getParameter('opaqueDataDescriptor');
172170
}
173171

174172
/**
@@ -177,9 +175,7 @@ public function getOpaqueDataDescriptor()
177175
*/
178176
public function getOpaqueDataValue()
179177
{
180-
return $this->getParameter('opaqueDataValue')
181-
? $this->getParameter('opaqueDataValue')
182-
: $this->httpRequest->request->get('opaqueDataValue');
178+
return $this->getParameter('opaqueDataValue');
183179
}
184180

185181
/**

0 commit comments

Comments
 (0)