Closed
Bug 15892
Opened 25 years ago
Closed 25 years ago
pluglets do not work with multiple MIMEtypes definition
Categories
(Core Graveyard :: Java-Implemented Plugins, defect, P3)
Core Graveyard
Java-Implemented Plugins
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: blackconnect, Assigned: blackconnect)
Details
Attachments
(1 file)
645 bytes,
patch
|
Details | Diff | Splinter Review |
If we have more than one mime type in our pluglet manifest file
(for exampe: mime1;mime2;mime3::) only first is working
Assignee | ||
Comment 1•25 years ago
|
||
Assignee | ||
Comment 2•25 years ago
|
||
The reason of this bug is:
---
Pluglet::Compare method
***************
*** 163,169 ****
}
p1 = p2 ;
if (p2 != NULL) {
p2 = strchr(p2,';');
p1++;
}
}
--
p2 is pointing to ';'. After we call strchr(p2,';') we will point to the
same location because the first occurrence of ';' would the first character.
So we never get second token and we will have infinite loop.
Suggested fix:
we need to increment p2 before calling strchr(p2,';')
(see attachments)
This fix was approved by akhil.arora@sun.com
Assignee | ||
Updated•25 years ago
|
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Comment 3•23 years ago
|
||
Verified with mozilla branch Netscape61_RELEASE and blackwood branch
JAVADEV_6_1_20010831 under Sparc Solaris 2.8.
Pluglets worked with any of defined in manifest mime types.
Updated•13 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•