New submission from anonymous:

I've been having problems adding a maildir source with a space in its absolute 
path.

  sup-add "maildir:/path/to/maildir with spaces"

It works if you enscape spaces with %20 or + as done normally in URIs:

  sup-add "maildir:/path/to/maildir%20with%20spaces"

But the maildir source doesn't unescape the uri path. Attached patch fixes 
that. 

However, I'm still not convinced one should be expected to escape URIs for
sup-add. I'd be interested in your opinion on that matter, and willing to go and
write a patch for that part as well.

----------
files: 0001-unescaping-maildir-uri-to-allow-spaces-etc.patch
messages: 86
nosy: anonymous
priority: bug
ruby_version: 1.8.7
status: unread
sup_version: 0.9.1
title: Problems with spaces in source paths

_________________________________________
Sup issue tracker <[email protected]>
<http://masanjin.net/sup-bugs/issue34>
_________________________________________

Attachment: 0001-unescaping-maildir-uri-to-allow-spaces-etc.patch
Description: Binary data

_______________________________________________
Sup-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/sup-devel

Reply via email to