From: Jakub Narebski <jnareb@gmail.com>
To: git@vger.kernel.org
Subject: Re: gitweb-projects
Date: Fri, 24 Aug 2007 02:08:24 +0200 [thread overview]
Message-ID: <fal7gn$2vf$1@sea.gmane.org> (raw)
In-Reply-To: 9e4733910708231438q4c454686p55cef622e61d6a2a@mail.gmail.com
[Cc: Jon Smirl <jonsmirl@gmail.com>, git@vger.kernel.org]
Jon Smirl wrote:
> What is the magic incantation for encoding an email address along with
> the project owner name? From the source I see these strings need to be
> URL encoded (it doesn't seem to be in the doc)
It is mentioned in gitweb/INSTALL, in the "Gitweb repositories" section
> but now I'm getting XML errors.
>
> I tried this:
> mpc5200b.git Jon+Smirl+%3Cjonsmirl%2664%3Bgmail.com%3E
I guess that this might have nothing to do with URL-encoding of projects
index file, but with proper escaping in the gitweb, i.e. the string is
not wrapped in esc_html.
In other words, it is a bug in the gitweb.
> Does this string really need to be URL encoded? Couldn't you split on
> the first space and then url encode it in the perl code? That would
> let me write the string in English instead of geek.
>
> mpc5200b.git Jon Smirl <jonsmirl@gmail.com>
Not possible, as path to repository can contain spaces.
--
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
next prev parent reply other threads:[~2007-08-24 0:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-23 21:38 gitweb-projects Jon Smirl
2007-08-24 0:08 ` Jakub Narebski [this message]
[not found] ` <9e4733910708231711o71aa3953i349bce96c5eee8f0@mail.gmail.com>
2007-08-24 7:35 ` gitweb-projects Jakub Narebski
2007-08-26 0:16 ` gitweb-projects Jon Smirl
2007-08-26 0:20 ` gitweb-projects Jon Smirl
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='fal7gn$2vf$1@sea.gmane.org' \
--to=jnareb@gmail.com \
--cc=git@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).