Skip to content

Commit 61771f8

Browse files
committed
fix: some code scanning alerts
closes #137
1 parent c3bca9c commit 61771f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/jsonrpc2/src/robotcode/jsonrpc2/protocol.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ def eof_received(self) -> Optional[bool]:
384384
rb"(?:[^\r\n]*\r\n)*"
385385
rb"(Content-Length: ?(?P<length>\d+)\r\n)"
386386
rb"((Content-Type: ?(?P<content_type>[^\r\n;]+)"
387-
rb"(; *(charset=(?P<charset>[^\r\n]+))?)?\r\n)|(?:[^\r\n]+\r\n))*"
387+
rb"(; *(charset=(?P<charset>[^\r\n]+))?)?\r\n)|(?:[^\r\n]+\r\n))?"
388388
rb"\r\n(?P<body>.*)",
389389
re.DOTALL,
390390
)

0 commit comments

Comments
 (0)