Skip to content

Commit 48641d6

Browse files
committed
Resolved issue with request uri line length
1 parent 5bce0d8 commit 48641d6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/LoggerMiddleware.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,10 @@ public function pre(
4444
}
4545

4646
$this->context[$transactionId][self::REQUEST]['method'] = $request->getMethod();
47-
$this->context[$transactionId][self::REQUEST]['uri'] = (string)$this->stripQueryItems($request->getUri(), $options);
47+
$this->context[$transactionId][self::REQUEST]['uri'] = (string)$this->stripQueryItems(
48+
$request->getUri(),
49+
$options
50+
);
4851
$this->context[$transactionId][self::REQUEST]['protocol_version'] = (string)$request->getProtocolVersion();
4952
$ignoreHeaders = $options[self::class][Options::IGNORE_HEADERS] ?? [];
5053
$this->context[$transactionId] = $this->iterateHeaders(

0 commit comments

Comments
 (0)