Closed
Bug 24933
Opened 26 years ago
Closed 26 years ago
[BETA1] Non-ASCII Rel Links show up in garbage on cached page
Categories
(Core :: Internationalization, defect, P3)
Core
Internationalization
Tracking
()
VERIFIED
FIXED
M14
People
(Reporter: blee, Assigned: jbetak)
References
()
Details
To see this,
1) Launch Seamonkey and click on the URL above.
2) Check Sidebar| Related Links (JA links should be displayed fine here).
3) Click Back button to return to Netcenter home page.
4) Click Forward button to get back to Mainichi newspaper.
==> JA links show up in garbage.
blds: Win32 01-21-09-M14, Mac 01-24-08-M14, Linux 01-19-08-M14
Severity: blocker → major
Summary: CJK Related Links show up in garbage on cached page → [BETA1] CJK Related Links show up in garbage on cached page
*** Bug 24557 has been marked as a duplicate of this bug. ***
Summary: [BETA1] CJK Related Links show up in garbage on cached page → [BETA1] Non-ASCII Related Links show up in garbage on cached page
| Assignee | ||
Updated•26 years ago
|
Status: NEW → ASSIGNED
Summary: [BETA1] Non-ASCII Related Links show up in garbage on cached page → [BETA1] Non-ASCII Rel Links show up in garbage on cached page
| Assignee | ||
Comment 2•26 years ago
|
||
here is the fix
E:\Mozilla\xpfe\components\related\src>cat k.txt
Index: nsRelatedLinksHandler.cpp
===================================================================
RCS file: /cvsroot/mozilla/xpfe/components/related/src/nsRelatedLinksHandler.cpp
,v
retrieving revision 1.32
diff -c -r1.32 nsRelatedLinksHandler.cpp
*** nsRelatedLinksHandler.cpp 2000/01/31 23:45:08 1.32
--- nsRelatedLinksHandler.cpp 2000/02/02 22:44:30
***************
*** 84,90 ****
{
private:
nsCOMPtr<nsIRDFDataSource> mDataSource;
- nsCOMPtr<nsIUnicodeDecoder> mUnicodeDecoder;
nsVoidArray mParentArray;
// pseudo-constants
--- 84,89 ----
***************
*** 98,103 ****
--- 97,103 ----
static nsIRDFResource *kNC_BookmarkSeparator;
static nsIRDFResource *kNC_RelatedLinksTopic;
static nsIRDFResource *kRDF_type;
+ static nsCOMPtr<nsIUnicodeDecoder> mUnicodeDecoder;
nsAutoString mBuffer;
***************
*** 130,138 ****
nsIRDFResource *RelatedLinksStreamListener::kNC_BookmarkSeparat
or;
nsIRDFResource *RelatedLinksStreamListener::kNC_RelatedLinksTop
ic;
nsIRDFResource *RelatedLinksStreamListener::kRDF_type;
-
////////////////////////////////////////////////////////////////////////
--- 130,138 ----
nsIRDFResource *RelatedLinksStreamListener::kNC_BookmarkSeparat
or;
nsIRDFResource *RelatedLinksStreamListener::kNC_RelatedLinksTop
ic;
nsIRDFResource *RelatedLinksStreamListener::kRDF_type;
+ nsCOMPtr<nsIUnicodeDecoder> RelatedLinksStreamListener::mUnicodeDecoder;
////////////////////////////////////////////////////////////////////////
***************
*** 180,185 ****
--- 180,186 ----
NS_IF_RELEASE(kNC_RelatedLinksTopic);
NS_IF_RELEASE(kRDF_type);
NS_IF_RELEASE(kNC_RelatedLinksRoot);
+ mUnicodeDecoder = nsnull;
nsServiceManager::ReleaseService(kRDFServiceCID, gRDFService);
}
rjc, please review it
Comment 3•26 years ago
|
||
Looks good.
| Assignee | ||
Comment 4•26 years ago
|
||
OK, I'm closing this - awaiting functional verification
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Verified fixed in Win32 02-17-09-M14, Mac 02-17-08-M14, Linux 02-17-08-M14 blds.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•