Bug 622223 - abrt eats characters outside the basic latin range when submitting to bugzilla
Summary: abrt eats characters outside the basic latin range when submitting to bugzilla
Alias: None
Product: Fedora
Classification: Fedora
Component: abrt (Show other bugs)
(Show other bugs)
Version: rawhide
Hardware: All Linux
Target Milestone: ---
Assignee: Denys Vlasenko
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: F14Target
TreeView+ depends on / blocked
Reported: 2010-08-08 07:51 UTC by Nicolas Mailhot
Modified: 2011-06-24 03:25 UTC (History)
7 users (show)

Fixed In Version: abrt-2.0.3-1.fc15
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2011-06-24 03:25:17 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Nicolas Mailhot 2010-08-08 07:51:57 UTC
Description of problem:

As seen in bug #622222 abrt eats characters outside the basic latin range when submitting to bugzilla

That means text not written in English becomes unreadable, and it is not possible to sanely report distribution UTF-8 handling problems as abrt will eat the reproducer sequences

Version-Release number of selected component (if applicable):

Comment 1 Denys Vlasenko 2010-08-17 12:36:40 UTC
(In reply to comment #0)
> Description of problem:
> As seen in bug #622222 abrt eats characters outside the basic latin range when
> submitting to bugzilla

abrt eats characters outside the basic latin range - where exactly?
When you enter them in "how to reproduce" field in abrt's gui tool?
Or somewhere else?

Comment 2 Nicolas Mailhot 2010-08-17 12:53:03 UTC
In the comment and "how to reproduce"

And the command capture is strange (\xc3\xa9 instead of é)

You have various examples in bug #622222 where complémentaires is replaced by complmentaires or compl\xc3\xa9mentaires, and "font(écoliercourt)" by "font(coliercourt)"

Comment 3 Denys Vlasenko 2011-05-19 14:53:17 UTC
Found the bug.

Fixed it in git with commit f3b32f8cb94bc83ded97bec478e666be6a07bf0d.

This fixes all text fields except cmdline.

Cmdline will still look like 'compl\xc3\xa9mentaires'.


We want to be a bit more paranoid about this bit of data - that is, we want to be very sure reporter gets EXACT command line. Meaning: no hidden spaces (think how these two commands from shell:
 cmd "abc def"
 cmd abc def
can look very similar...), no hidden Unicode chars which look very similar to ASCII chars (or have zero width and are invisible), etc.

If you think we should not escape cmdline, please reopen this bug and explain why you think so.

Comment 4 Nicolas Mailhot 2011-05-25 07:11:15 UTC
Is there any way to convert this in a working command line ? Because otherwise, I fear a developper receiving an abrt report with munged cli will just ignore it

Comment 5 Fedora Update System 2011-06-21 13:45:27 UTC
abrt-2.0.3-1.fc15 has been submitted as an update for Fedora 15.

Comment 6 Fedora Update System 2011-06-21 23:56:20 UTC
Package abrt-2.0.3-1.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing abrt-2.0.3-1.fc15'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2011-06-24 03:23:32 UTC
abrt-2.0.3-1.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.