Commas in username are not escaped during export

I just exported my user list, and the resulting CSV was broken when a name contained a ,

Adding quotes around values which contain a , would help.

「いいね!」 3

Oh this is definitely a bug can you add to your list @techapj? Also check for and escape comma in other fields where it can exist.

「いいね!」 3

Howdy @codinghorror. I just came here to report a very similar bug. When we export our users, sometimes the name field contains something like Smith, Jeff or Some Company, Inc. and it’s not wrapped in quotes in the csv so when you open the csv it gets all out of whack. Thanks!

「いいね!」 1

It is more complex than expected but @techapj is working on it

「いいね!」 4

OK great. Thanks for the reply! It’ll be handy to have this fixed.

「いいね!」 1

Fixed via:

https://github.com/discourse/discourse/commit/f1566ef80bd84020cfd3304044caf020b55f77ac

「いいね!」 5