Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: Gaute Hope <eg@gaute.vetsj.com>
To: Sup Talk <sup-talk@rubyforge.org>
Subject: Re: [sup-talk] Adding maildir folder with a space
Date: Sat, 08 Oct 2011 19:53:55 +0200	[thread overview]
Message-ID: <1318096369-sup-9918@qwerzila> (raw)
In-Reply-To: <1318093920-sup-7623@boots>

Excerpts from Martin Miller's message of 2011-10-08 19:14:34 +0200:
> > The URI is a file path in this case, so the usual way of putting a
> > space in is to put a backslash in front of the space. So for
> > sources.yaml you could do:
> > 
> > uri: maildir:/home/marty/lavabit/Acct\ Dtls
> 
> I should have mentioned that I tried that before. The error looks like this:
> --- URI::InvalidURIError from thread: main
> bad URI(is not URI?): maildir:/home/marty/lavabit/Acct\ Dtls
> /usr/lib/ruby/1.9.1/uri/common.rb:156:in `split'
> /usr/lib/ruby/1.9.1/uri/common.rb:174:in `parse'
> /usr/lib/ruby/1.9.1/uri/common.rb:628:in `parse'
> /usr/lib/ruby/1.9.1/uri/common.rb:854:in `URI'
> 

Don't you need to have three slashes: maildir:///path/to/dir

- Gaute


      reply	other threads:[~2011-10-08 17:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-08  3:50 Martin Miller
2011-10-08 11:48 ` Hamish D
2011-10-08 17:14   ` Martin Miller
2011-10-08 17:53     ` Gaute Hope [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1318096369-sup-9918@qwerzila \
    --to=eg@gaute.vetsj.com \
    --cc=sup-talk@rubyforge.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox