sshnet / sshnet/SSH.NET

ScpClient: Support error message containing LF

Offen
#279 0 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@drieseng arbeitet bereits daran.

Seit 20.8.2017.

enhancement
Vorherrschende Sprache
C#
Sterne
4.4k
Forks
993
Ø Merge
9 T. 21 Std.
Gemergte PRs (30 T.)
1

Beschreibung

When reading a message from the server (for example in case of an error response), we currently read up to the first LF as that is the character that is supposed to terminate the message.

In the rare case when an error message contains a LF we do not read the complete message which will result in errors further down the in the processing.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.