We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f09ea56 commit 5b507a0Copy full SHA for 5b507a0
roles/ui/files/FWO.UI/Services/FileUploadService.cs
@@ -62,7 +62,7 @@ public async Task ReadFileToBytes(InputFileChangeEventArgs args)
62
List<CSVFileUploadErrorModel> errors = [];
63
64
string text = System.Text.Encoding.UTF8.GetString(UploadedData);
65
- string[] lines = text.Split(Environment.NewLine);
+ string[] lines = text.Split(Environment.NewLine, StringSplitOptions.RemoveEmptyEntries | StringSplitOptions.TrimEntries);
66
67
foreach (string line in lines)
68
{
0 commit comments