[BUG] Devices with spaces in names

Subject: [BUG] Devices with spaces in names

Date: Fri, 27 Sep 2024 18:15:02 +0200

To: notmuch@notmuchmail.org

Cc:

From: Nicolas Graves


Hi!

Thanks for notmuch.

I have a device which for some reason have a space in its name. It's the
default installation, I surely don't remember setting such a name
myself.

This creates some issues with notmuch, which seems to inject this
variable without quoting it for some mv and rm commands (in french) : 

```
rm: impossible de supprimer '/home/graves/.local/var/lib/mail/accounts/neleves/sent/cur/1657705346.2877_20663.Precision': Aucun fichier ou dossier de ce nom
rm: impossible de supprimer '3571,U=449:2,S': Aucun fichier ou dossier de ce nom
```

My device name is "Precision 3571" in this case. I can reproduce the bug
for each invocation of "notmuch new".

Thanks in advance, 

-- 
Best regards,
Nicolas Graves
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: