Closed Bug 481716 Opened 15 years ago Closed 15 years ago

Hendrix messes up non-ascii characters

Categories

(Infrastructure & Operations Graveyard :: WebOps: Other, task)

All
Linux
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: tessarakt, Assigned: oremj)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.1b2) Gecko/20090223 Gentoo Firefox/3.1b2
Build Identifier: 

When I enter my name, "Jens Müller", in a Hendrix form, it gets messed up in the newsgroup posting (posted utf-8 interpreted as iso-8859-1, proably).

Such messages regularly occur in the .feedback. newsgroups.

Reproducible: Always
Hi Jens,

I've just tested this with the live thing and my local installation, and can't reproduce the problem. I copied and pasted your name from this bug. 
news://news.mozilla.org:119/cvWdnWWPc4WU7bPXnZ2dnUVZ_uSdnZ2d@mozilla.org
I even tried it with Chinese text and it worked:
news://news.mozilla.org:119/koidnfqoHO_G7bPXnZ2dnUVZ_tadnZ2d@mozilla.org

Gerv
Well,
Message-ID: <_OmdnbMhpPjA7LPXnZ2dnUVZ_gSdnZ2d@mozilla.org>
shows it's still broken for me ...
Hmm. I've just realised that there's no easy way to get Thunderbird to display a particular message given the message ID. Or, for that matter, to display a news:// URL. Can you specify which messages you mean?

Of my two, the first was posted at 15:22 BST today in mozilla.feedback.firefox (title "Jens Müller"), and the Chinese one was posted in mozilla.feedback at 15:23.

Gerv
Mine was posted in mozilla.feedback.firefox.prerelease some hours ago, subject "[Hendrix] Umlaut test".

Only the _body_ looks wrong, btw.

I just realised that no MIME headers are set for the body, and special characters in the header are not MIME-encoded.
Ah:

The first two "Jens Müller" postings (:19 and :20) show the correct subject Shredder, but an empty sender.

The third one (:21) also shows the correct sender ...

On the other hand, the body looks fine for the first two, while it looks broken for the third ...
I've found the Umlaut test message, and it looks fine for me in Firefox 3.0b2.

But you are right, we make no particular effort to get this right. And we probably should do it explicitly rather than relying on software to guess correctly. 

Gerv
Status: UNCONFIRMED → NEW
Ever confirmed: true
OK, I've set all the Content-Types to use UTF-8 explicitly. I've also updated to Namoroka, made Name optional, and beefed up yet further the wording about not submitting private information.

Please CVS update the hendrix.mozilla.org installation.

Thanks,

Gerv
Assignee: gerv → server-ops
Component: Hendrix → Server Operations: Web Content Push
Product: Webtools → mozilla.org
QA Contact: hendrix → mrz
Version: Trunk → other
Content updated, should push our shortly.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
mrz: how shortly is "shortly"? http://hendrix.mozilla.org/ doesn't show the new version as of today (2nd September, 4:40pm BST).

Gerv
Shorter than 3 days... oremj?
Assignee: server-ops → jeremy.orem+bugs
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
cvs -q up -dP
? skin/planet2.css
RCS file: /cvsroot/mozilla/webtools/hendrix/index.cgi,v
retrieving revision 1.20
retrieving revision 1.21
Merging differences between 1.20 and 1.21 into index.cgi
M index.cgi
RCS file: /cvsroot/mozilla/webtools/hendrix/skin/planet.css,v
retrieving revision 1.7
retrieving revision 1.8
Merging differences between 1.7 and 1.8 into planet.css
M skin/planet.css
P template/error.html.tmpl
P template/index.html.tmpl
Status: REOPENED → RESOLVED
Closed: 15 years ago15 years ago
Resolution: --- → FIXED
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.