Modify

Opened 6 years ago

Last modified 5 years ago

#4461 new defect

Blog posts by author broken if the author is identified with a certificate

Reported by: jouvin@… Owned by: osimons
Priority: normal Component: FullBlogPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

Hi,

If the author of a post is identifed with a certificate DN (eg. C=FR/O=CNRS/OU=UMR8607/CN=Michel Jouvin/emailAddress=jouvin@lal.in2p3.fr), clicking of the author name returns 'no post for ...', even though the summary on the right panel gives a non 0 count for the same author.

Michel

Attachments (0)

Change History (5)

comment:1 follow-up: Changed 6 years ago by osimons

I tried using the exact string, but find that it works OK at my end. Are you running latest 0.11 version? I'd appreciate help researching this to figure out exactly why it fails in your case.

BTW, even if you are authenticated, the author of the post can be edited - I can't really see why anyone would actually want to use those names in listings...

comment:2 in reply to: ↑ 1 Changed 6 years ago by jouvin@…

Replying to osimons:

I tried both with last 0.11 from stabe/0.11.x and with last trunk (r7795). Result is the same.

I personnally would be very happy to change the author name but I don't want to edit it at each post and reply... and found no way so far with Trac to let him know that I am 'Michel Jouvin' whether I am logged with a user/pwd, a certificate or another certificate... May be I just missed something... But this is probably outside of this topic!

Michel

comment:3 follow-up: Changed 6 years ago by osimons

How strange. That long author from description is the exact author you use? I try latest 0.11 Trac and FullBlogPlugin, and see no issues. Check:

  • What is your Python locale?
  • What is the default encoding in trac.ini?
  • What is the exact quoted path you see on your end? I need the /blog/author/C%3DFR/O%3....... part.
  • What browser are you using? My testing so far is FF3 only.

comment:4 in reply to: ↑ 3 Changed 6 years ago by jouvin@…

Replying to osimons:

How strange. That long author from description is the exact author you use?

Yes it is. This is the username you get when you authenticate with a certificate rather than a user/pwd. But in fact you never enter it, it is retrieved from the certificate by Apache.

I try latest 0.11 Trac and FullBlogPlugin, and see no issues. Check:

  • What is your Python locale?

I don't know... how to display it ? I'd say the standard one on a (old) Unix (english) system.

  • What is the default encoding in trac.ini?

default_charset = iso-8859-15

  • What is the exact quoted path you see on your end? I need the /blog/author/C%3DFR/O%3....... part.

https://trac.lal.in2p3.fr/devdu/blog/author/C%3DFR/O%3DCNRS/OU%3DUMR8607/CN%3DLaurent%20Garnier/emailAddress%3Dgarnier%40lal.in2p3.fr

  • What browser are you using? My testing so far is FF3 only.

Opera generally, but I checked with IE and the problem is the same.

What is strange is that the DN is listed with the right post count in 'Browse by author'. And this happens only with these very long author name, I have no problem with authors who authenticated with a user/pwd and thus have a normal author name.

Michel

comment:5 Changed 5 years ago by osimons

#5875 is somewhat related.

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.