Bug 151411 - Article author name mangled if containing parentheses
Summary: Article author name mangled if containing parentheses
Status: RESOLVED FIXED
Alias: None
Product: akregator
Classification: Applications
Component: feed parser (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-27 00:58 UTC by Stefan Radermacher
Modified: 2008-02-03 23:34 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Fixes the aforementioned bug (1.13 KB, patch)
2007-10-27 00:59 UTC, Stefan Radermacher
Details
Second version of the patch (1.02 KB, patch)
2007-10-27 11:17 UTC, Stefan Radermacher
Details
Second version of the patch (1.02 KB, patch)
2007-10-27 11:32 UTC, Stefan Radermacher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Radermacher 2007-10-27 00:58:31 UTC
Version:            (using KDE KDE 3.5.8)
Installed from:    Gentoo Packages
Compiler:          gcc 4.1.2 
OS:                Linux

If the name of an author of an article contains parentheses, Akregator mangles the name as follows: for example, if the name is "John Doe (President)", Akregator only writes "President" into its database. This works correctly if the name contains an email address as in "John Doe <john@doe.org>", but in a case like the one mentioned above, Akregator should preserve the full name.
Comment 1 Stefan Radermacher 2007-10-27 00:59:51 UTC
Created attachment 21918 [details]
Fixes the aforementioned bug
Comment 2 Stefan Radermacher 2007-10-27 11:17:04 UTC
Created attachment 21920 [details]
Second version of the patch

Old patch still mangled a name in the format "john@doe.com (John Doe)" to
"(John Doe)". This is now also converted correctly.
Comment 3 Stefan Radermacher 2007-10-27 11:32:28 UTC
Created attachment 21921 [details]
Second version of the patch

Old patch still mangled a name in the format "john@doe.com (John Doe)" to
"(John Doe)". This is now also converted correctly.
Comment 4 Frank Osterfeld 2007-10-27 12:27:11 UTC
SVN commit 729903 by osterfeld:

backport from trunk: Handle "Foo (Bar) <foo@bar.com>" and "Foo (Bar)" correctly
Patch by Stefan Radermacher
CCBUG: 151411


 M  +7 -3      tools_p.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=729903
Comment 5 Frank Osterfeld 2008-02-03 23:34:11 UTC
Applied and fixed, thanks!