Skip to content

Normalize FN field (remove line breaks) #2811

Description

@devvv4ever

Line Breaks \n can happen within the FN field and they could (and do with mail.de) create problems during sync.

Although line breaks are syntactically valid in an FN field within a vCard 3/4 we could consider removing it nevertheless when putting it to the server since the purpose of FN is to be a "formatted name" string.

Background:

This field below somehow made it to the server of mail.de and couldn't be delivered to DAVx5 (internal server error) when syncing. It is clearly a problem of the server in this case but to minimize problems across various clients we could remove it for this field (although it feels a bit odd to change "correct" syntax in order to avoid problems).

FN:Café und Kiosk\nim Allg. Krankenhaus

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    3rd partyrelated to a third-party product (library, …)needs infoFurther information needed to continue

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions