Skip to content

Commit bb38962

Browse files
committed
Don't log security relevant data to prevent revealing information
1 parent 5fd9171 commit bb38962

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

src/Client/Html/Checkout/Confirm/Standard.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,7 @@ public function data( \Aimeos\Base\View\Iface $view, array &$tags = [], string &
115115
$context = $this->context();
116116
$config = $context->config();
117117

118-
if( ( $id = $context->session()->get( 'aimeos/orderid' ) ) === null )
119-
{
120-
$context->logger()->log( 'Lost session at confirmation page' . PHP_EOL
121-
. '$_COOKIE: ' . print_r( $_COOKIE, true ) . PHP_EOL
122-
. '$_SERVER: ' . print_r( $_SERVER, true ) );
118+
if( ( $id = $context->session()->get( 'aimeos/orderid' ) ) === null ) {
123119
throw new \Aimeos\Client\Html\Exception( $context->translate( 'client', 'No order ID available in session' ) );
124120
}
125121

0 commit comments

Comments
 (0)