Bug 22501 - 'Could not parse header' on antispam email address in RPM's changelog
Summary: 'Could not parse header' on antispam email address in RPM's changelog
Status: RESOLVED NOTABUG
Alias: None
Product: PackageKit
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: Other All
: medium minor
Assignee: Richard Hughes
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-26 13:26 UTC by Marcin Zajaczkowski
Modified: 2018-08-21 15:52 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Marcin Zajaczkowski 2009-06-26 13:26:35 UTC
I'm not sure which component is responsible for that behaviour, so please change an assign if necessary.

In 'Update viewer' in a change description window where no description is available a changelog from RPM package (SPEC file) is printed. When there is antispam email address used (which is very common since SPEC file are usually available on the net in as a plan text) an error is displayed (instead of a changelog):

The developer logs will be shown as no description is available for this update:
Could not parse header: 'Foo Bar <foo.foo[AT]bar.com>', expected: 'Firstname Lastname <email@account.com> - version-release'

In my opinion regexp could be simplified to detect email part as <*>, not necessary with '@' and at least one '.'.
Comment 1 Marcin Zajaczkowski 2009-06-26 13:28:05 UTC
Fedora 11
gnome-packagekit-2.27.2-1.fc11
Comment 2 Richard Hughes 2018-08-21 15:52:38 UTC
We moved the upstream bugtracker to GitHub a long time ago. If this issue still affects you please re-create the issue here: https://github.com/hughsie/PackageKit/issues
 
Sorry for the impersonal message, and fingers crossed your issue no longer happens. Thanks.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.