Skip to content

Sync'ing color should not sync trailing newline #358

@WhyNotHugo

Description

@WhyNotHugo

I've my calendars configured with a /color file with a hex colour (eg: #c0c0c0). Since I edit these files with vim, they end up with a trailing newline. I doubt I'm the only person for whom this happens too.

When I sync to my CalDAV server, sync works fine, but other clients that sync to it (a web client, a mobile client) fail to parse this value, and use a fallback colour.

I've reported the issue to those other clients (since they can't be that strict in what the accept!), but I still think vdirsyncer should trim the trailing newline when uploading the colour.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions