Closed Bug 74055 Opened 24 years ago Closed 24 years ago

crash when using the subscribe dialog on servers with non-ASCII newsgroups

Categories

(MailNews Core :: Networking: NNTP, defect, P1)

x86
All

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.1

People

(Reporter: zz_sz, Assigned: sspitzer)

References

(Blocks 1 open bug, )

Details

(Keywords: crash, Whiteboard: [nsbeta1+])

Attachments

(4 files)

every time when I subcribe from news.webking.com.cn,it appears a error!you can try it for a test.
What build ID? Is this a public news server, or does it run on a private ISP's server? What is the error message that you receive? Please read http://www.mozilla.org/quality/bug-writing-guidelines.html in the future when writing bugs. Thanks for reporting bugs in Mozilla.
QA Contact: esther → stephend
I'll attach a log of my tracert to your news server. Looks like the news server is on a bad network segment (but I'd have to tracert it over time to find out for sure.) Could it be the server is having it's own problems, or that you are just having network issues in general?
Forget that. This bug is confirmed, sorry. I was thinking this would be a private server, and I wouldn't even be able to get that far. Stack coming.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Seth, it's an international group, with newsgroup named similar to ±¾Íø¹«¸æ (it's publically accessible, my bad) Works in 4.x.
Severity: normal → major
Keywords: crash, nsbeta1
crasher -> 0.9 accepting.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9
Whiteboard: [nsbeta1+]
working on this now.
OS: Windows 2000 → All
Priority: -- → P1
Summary: every time when I subcribe from news.webking.com.cn,it appears a error! → crash when using the subscribe dialog on news://news.webking.com.cn
*** Bug 75350 has been marked as a duplicate of this bug. ***
back to working on this, a little more involved that I thought.
moving to mozilla0.9.1
Target Milestone: mozilla0.9 → mozilla0.9.1
update, to support non ASCII newsgroup names I have to add escaping and unescaping in various places. the reason for that is the newsgroup name shows up in our RDF uris, and it must be escaped UTF8. basically, on disk (newsrc or hostinfo.dat) or on the wire (when being sent to the newsrc server), I'm using the unescaped latin-1 encoded version (like 4.x did) and then internal I'm using escaped UTF8. it has no effect on normal ASCII newsgroups, except for strings copies and wasted time escaping / unescaping. I'll land it in 0.9.1.
updating summary. still working on a clean and complete patch for this.
Summary: crash when using the subscribe dialog on news://news.webking.com.cn → crash when using the subscribe dialog on servers with non-ASCII newsgroups
the other half of this problem is if you were subscribed to non-ASCII newsgroups in 4.x and you migrated. I'm *still* working on this fix. it's not fun.
fix in hand, just cleaning it up now.
revised patch coming soon, which moves the common code into nsMsgUtils.cpp adding cavin, he's going to need the util functions for a bug he's working on.
so on disk (newsrc, hostinfo.dat) and on the wire we use the ISO-8859-1 version of the name. (just like 4.x did, so migration works) internally, and in our URIs, we use the escaped UTF-8 version. there's also some cleanup of printfs mixed in there too.
sr=mscott
r=bienenu
fixed.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Amen! I can subscribe to newsgroups (non-ascii) on news://news.webking.com.cn, with builds: Mac OS 9.1 2001-05-11-09 Windows 2000 2001-05-11-04 Linux RedHat 7.0 2001-05-11-08 Booya!
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: