You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 30, 2025. It is now read-only.
readTillPrompt can sometimes return incomplete lines.
Given the input is ........\nsmb: \path\to\subfolder\>[space] and the first part of the input fills the buffer, so the $chunk variable will hold ........\nsmb: \path\to
Thenstrpos($chunk, "smb:") === false will cause the remaining \subfolder\>[space] to be left in the stream() and the next call to readTillPrompt return \subfolder\>[space]
But I would expect the function to have read until \>[space] the first call.
readTillPromptcan sometimes return incomplete lines.Given the input is
........\nsmb: \path\to\subfolder\>[space]and the first part of the input fills the buffer, so the$chunkvariable will hold........\nsmb: \path\toThen
strpos($chunk, "smb:") === falsewill cause the remaining\subfolder\>[space]to be left in the stream() and the next call toreadTillPromptreturn\subfolder\>[space]But I would expect the function to have read until
\>[space]the first call.SMB/src/Wrapped/RawConnection.php
Lines 119 to 129 in 76995aa