Commit 1fa62b3
committed
Fix GetEntry / MLST for servers which send multiple spaces
Some servers seem to send multiple spaces at the end of an MLST response.
MLST Workspace
250-Listing Workspace
size=0;type=dir;perm=rwx;modify=20250218125218; /Workspace
250 End
Before this change this would cause the GetEntry method to return this
error.
unsupported LIST line
This patch ignores zero or more spaces at the start of the MLST response.1 parent 2455144 commit 1fa62b3
2 files changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
196 | | - | |
| 196 | + | |
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
778 | 778 | | |
779 | 779 | | |
780 | 780 | | |
781 | | - | |
782 | | - | |
783 | | - | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
784 | 784 | | |
785 | 785 | | |
786 | 786 | | |
| |||
0 commit comments