Commit abb108e
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 9064117 commit abb108e
2 files changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
| 195 | + | |
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
780 | 780 | | |
781 | 781 | | |
782 | 782 | | |
783 | | - | |
784 | | - | |
785 | | - | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
786 | 786 | | |
787 | 787 | | |
788 | 788 | | |
| |||
0 commit comments