Closed
Bug 238688
Opened 21 years ago
Closed 21 years ago
Cannot subscribe to newsgroups with a + in its name
Categories
(SeaMonkey :: MailNews: Message Display, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: stach, Assigned: neil)
References
Details
(Keywords: regression, verified1.7, Whiteboard: fixed-aviary1.0)
Attachments
(3 files)
98.39 KB,
patch
|
Details | Diff | Splinter Review | |
98.39 KB,
application/x-msdownload
|
Details | |
683 bytes,
patch
|
Bienvenu
:
review+
mscott
:
superreview+
asa
:
approval1.7+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040325
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040325
This happens only to groups with + in their name.
Like comp.lang.c++.moderated for example.
If you click Subscribe or try to check the checkbox, nothing happens.
Reproducible: Always
Steps to Reproduce:
Comment 1•21 years ago
|
||
*** Bug 239042 has been marked as a duplicate of this bug. ***
Comment 2•21 years ago
|
||
Confirming with Linux and a CVS build from yesterday. The JavaScript console
reports the following error when trying to subscribe to a group with a + in its
name by clicking on the corresponding checkmark:
Error: uncaught exception: [Exception... "Component returned failure code:
0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsITreeView.cycleCell]" nsresult:
"0x80004001 (NS_ERROR_NOT_IMPLEMENTED)" location: "JS frame ::
chrome://global/content/bindings/tree.xml :: onxblmousedown :: line 718" data: no]
When you click on the Subscribe button nothing happens and no error is reported
on the JavaScript console.
I don't think Mozilla 1.7 should be released with this bug, since it prevents
you from using a lot of newsgroups (e.g. all C++ newsgroups).
Severity: normal → major
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: blocking1.7?
Keywords: regression
OS: Windows XP → All
Summary: Cannot subscribe groups with + in name → Cannot subscribe to newsgroups with a + in its name
Comment 3•21 years ago
|
||
Reverting this change made by jshin on February 19th fixes the bug:
http://bonsai.mozilla.org/cvsview2.cgi?diff_mode=context&whitespace_mode=show&root=/cvsroot&subdir=mozilla/mailnews/base/resources/content&command=DIFF_FRAMESET&root=/cvsroot&file=subscribe.js&rev1=1.73&rev2=1.74
Assignee | ||
Comment 4•21 years ago
|
||
Mozilla's handling of unsafe characters in newsgroup names is very broken -
simply searching on "%" in my ISP's news server produces over 25 groups none of
which actually contain a % sign.
Comment 5•21 years ago
|
||
See bug #241854: The (more or less the same) quoted error message now appears
now on subscribing on *every* newsgroup. But the error message has no side
effects, you can work with this newsgroups life before.
Comment 6•21 years ago
|
||
The JavaScript error is probably unrelated to this bug. With the change proposed
in comment 3 you can subscribe to newsgroups with a + in its name again, bug the
JavaScript error still remains. Bug 241854 is now a separate bug about the
JavaScript error.
jshin: Is the change in comment 3 the right fix for this?
Neil: I don't see the issue with the % character you described in comment 4 with
the news servers I use.
Comment 7•21 years ago
|
||
... or you could just remove |cycler="true"| from subscribedColumn2
because it's handled in SearchOnClick() anyway
Comment 8•21 years ago
|
||
sorry, that was for bug 241854
Comment 10•21 years ago
|
||
Comment 11•21 years ago
|
||
Christine: Why did you attach a mozilla.exe here?
Comment 12•21 years ago
|
||
jshin: So can we revert your change from
http://bonsai.mozilla.org/cvsview2.cgi?diff_mode=context&whitespace_mode=show&root=/cvsroot&subdir=mozilla/mailnews/base/resources/content&command=DIFF_FRAMESET&root=/cvsroot&file=subscribe.js&rev1=1.73&rev2=1.74?
I think shiping 1.7 with this is very bad.
Comment 13•21 years ago
|
||
*** Bug 243792 has been marked as a duplicate of this bug. ***
Comment 14•21 years ago
|
||
re-assigning to jshin since it sounds like his change exposed the problem.
Assignee: sspitzer → jshin
Comment 15•21 years ago
|
||
I'm on the road (I'm sitting at an Internet cafe) so that I'm afraid I can't
deal with this problem until I get back home. A temporary fix might be to just
revert my change as mentioned in comment #12.
Assignee | ||
Comment 16•21 years ago
|
||
Of course that would break all non-ascii newsgroup names...
Assignee | ||
Comment 17•21 years ago
|
||
Assignee: jshin → neil.parkwaycc.co.uk
Status: NEW → ASSIGNED
Assignee | ||
Comment 18•21 years ago
|
||
Comment on attachment 149368 [details] [diff] [review]
Proposed patch
So since (for its own nefarious reasons) nsNntpIncomingServer escapes the
string as if it was a URL, we need to as well.
Attachment #149368 -
Flags: superreview?(mscott)
Attachment #149368 -
Flags: review?(mscott)
Updated•21 years ago
|
Attachment #149368 -
Flags: review?(mscott) → review+
Updated•21 years ago
|
Attachment #149368 -
Flags: superreview?(mscott) → superreview+
Updated•21 years ago
|
Whiteboard: fixed-aviary1.0
Updated•21 years ago
|
Flags: blocking1.7? → blocking1.7+
Assignee | ||
Comment 19•21 years ago
|
||
Comment on attachment 149368 [details] [diff] [review]
Proposed patch
Trivial fix for very visible bug.
Attachment #149368 -
Flags: approval1.7?
Comment 20•21 years ago
|
||
Comment on attachment 149368 [details] [diff] [review]
Proposed patch
a=asa (on behalf of drivers) for checkin to 1.7
Attachment #149368 -
Flags: approval1.7? → approval1.7+
Assignee | ||
Comment 21•21 years ago
|
||
Fix checked in.
Comment 22•21 years ago
|
||
> Of course that would break all non-ascii newsgroup names
I'm glad you remembered about that. thanks for remembering not to break that.
Comment 23•21 years ago
|
||
*** Bug 244977 has been marked as a duplicate of this bug. ***
Comment 24•21 years ago
|
||
Reporter Krzysztof, boa@metasystems.no:
Can one of you help for verifying this bug since you have newsgroups with a +
in its name for your news server?
Please changing Keywords from fixed1.7 to verified1.7 if you verified on the
latest 1.7 builds:
http://ftp.mozilla.org/pub/mozilla.org/mozilla/nightly/latest-1.7/
Thanks.
Reporter | ||
Comment 25•21 years ago
|
||
It works with my news server now. Thanks!
Status: RESOLVED → VERIFIED
Keywords: fixed1.7 → verified1.7
Comment 26•20 years ago
|
||
*** Bug 243467 has been marked as a duplicate of this bug. ***
Updated•20 years ago
|
Product: Browser → Seamonkey
Comment 27•20 years ago
|
||
*** Bug 242771 has been marked as a duplicate of this bug. ***
Component: MailNews: Subscribe → MailNews: Message Display
QA Contact: stephend → search
You need to log in
before you can comment on or make changes to this bug.
Description
•