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)
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)
1.78 KB,
text/plain
|
Details | |
11.07 KB,
text/plain
|
Details | |
13.08 KB,
patch
|
Details | Diff | Splinter Review | |
19.24 KB,
patch
|
Details | Diff | Splinter Review |
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.
Assignee | ||
Comment 7•24 years ago
|
||
crasher -> 0.9
accepting.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9
Updated•24 years ago
|
Whiteboard: [nsbeta1+]
Assignee | ||
Comment 8•24 years ago
|
||
working on this now.
Assignee | ||
Updated•24 years ago
|
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
Assignee | ||
Comment 10•24 years ago
|
||
back to working on this, a little more involved that I thought.
Assignee | ||
Comment 12•24 years ago
|
||
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.
Assignee | ||
Comment 13•24 years ago
|
||
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
Assignee | ||
Comment 14•24 years ago
|
||
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.
Assignee | ||
Comment 15•24 years ago
|
||
fix in hand, just cleaning it up now.
Assignee | ||
Comment 16•24 years ago
|
||
Assignee | ||
Comment 17•24 years ago
|
||
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.
Assignee | ||
Comment 18•24 years ago
|
||
Assignee | ||
Comment 19•24 years ago
|
||
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.
Comment 20•24 years ago
|
||
sr=mscott
Comment 21•24 years ago
|
||
r=bienenu
Assignee | ||
Comment 22•24 years ago
|
||
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
Updated•20 years ago
|
Product: MailNews → Core
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•