Forum activity email "from" truncates the board name


(Gael) #1

Good morning!

I have something strange on the weekly forum activity email.

My board name is: “I, Entrepreneur"
And the “from:” field only contains the letter “I”: " I@imeuk01.ientrepreneur.me.uk

What I would like is to have the “from:” field set to the full name of the board.
Maybe by dropping the comma? Where would I need to do that though?

Any idea how I can do that?

Thanks so much in advance!!

Gaël


(Gael) #2

Hi guys,

Would you have any idea of how I could solve this problem?

Thanks
Gaël


(Jeff Atwood) #3

I believe comma has a special meaning in email to and from and bcc fields, so it probably needs to be escaped or omitted when building those mail fields.

This might be easy to fix with a contributed pull request.


(Gael) #4

Thanks so much for your answer!

Having this fixed would be so great!!

Howere, I am not sure to understand what you mean by a contributed pull
request.
Is this something a discourse developer would be able to do?

Let me know if I can do anything to assist.

Thanks in advance
Gaël


(Jeff Atwood) #5

I was mostly posting details so someone reading could maybe could contribute a fix more easily.

As Miguel de Icaza often says, this is open source software, when it breaks, you get to keep both halves!


(Sam Saffron) #6

Recategorized as bug, we should be escaping stuff properly there.


(Jeff Atwood) #7

I believe this is fixed @techapj can you confirm?


(Arpit Jalan) #8

Just tested this case, and the problem still persists. Added on my list.


(Arpit Jalan) #9

Fixed:

https://github.com/discourse/discourse/pull/2998


(Arpit Jalan) #10