[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

commit-email.pl + client cert: "From" email address

From: Graham Leggett <minfrin_at_sharp.fm>
Date: 2005-01-28 14:31:05 CET

Hi all,

I have managed to get the FakeBasicAuth to work in conjunction with
mod_authn_anon (Anonymous dummy *), however I have found a small problem
with the commit-email.pl script.

If the username is a certificate DN, your username ends up looking like this:

/C=ZA/ST=blah/O=blah/OU=SVN/CN=Graham Leggett/emailAddress=email@address

And the email's "from" address is set to this as well, which looks nothing
like an email address.

Would it be reasonable to change the commit-email.pl script so that if the
username contains the string "emailAddress=", then that email is used as
the "From" address, and if the user contains "CN=", then the common name
is used as the full name of the person making the commit?


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jan 28 14:33:49 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.