budibase/packages
R2bEEaton 6896488451
Import Users CSV Carriage Return Support #7398
## Description
The ImportUsersModal takes in a CSV file expecting each line to have a valid email address. When this file is created in Microsoft Excel, Windows in general, or a text editor that uses the carriage return character `\r`, the import fails. This is because the CSV string is split into an email list by `csvString.split("\n")` which fails to account for `\r\n` newlines. This PR changes the split to be the regex `/\r?\n/` which will split on either `\n` or `\r\n`.

Addresses: 
- Issue #7398
- Discussion #7397
2022-08-22 07:59:05 -04:00
..
backend-core v1.2.44-alpha.1 2022-08-22 09:19:26 +00:00
bbui v1.2.44-alpha.1 2022-08-22 09:19:26 +00:00
builder Import Users CSV Carriage Return Support #7398 2022-08-22 07:59:05 -04:00
cli v1.2.44-alpha.1 2022-08-22 09:19:26 +00:00
client v1.2.44-alpha.1 2022-08-22 09:19:26 +00:00
frontend-core v1.2.44-alpha.1 2022-08-22 09:19:26 +00:00
server Update pro version to 1.2.44-alpha.1 2022-08-22 09:22:23 +00:00
string-templates v1.2.44-alpha.1 2022-08-22 09:19:26 +00:00
types v1.2.44-alpha.1 2022-08-22 09:19:26 +00:00
worker Update pro version to 1.2.44-alpha.1 2022-08-22 09:22:23 +00:00