Closed Bug 438428 Opened 16 years ago Closed 16 years ago

Blocklist should not contain null match elements

Categories

(addons.mozilla.org Graveyard :: Developer Pages, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: morgamic, Assigned: morgamic)

References

Details

Attachments

(1 file, 1 obsolete file)

If name, description or filename are null in the blplugins table, the output should not contain match elements without exp values.

For example:
<match name="name" exp=""/>

or
<match name="name"/>

Are both invalid and cause mixed results (mostly false negatives).
This adds checking for null match values.  If the values in the database are NULL, the corresponding match elements will not be printed in the resulting XML with a null or empty exp="" element.
Assignee: nobody → morgamic
Status: NEW → ASSIGNED
Attachment #324536 - Flags: review?(clouserw)
Blocks: 430826
Attachment #324536 - Attachment is obsolete: true
Attachment #324539 - Flags: review?(clouserw)
Attachment #324536 - Flags: review?(clouserw)
Attachment #324539 - Flags: review?(clouserw) → review+
r15267
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Keywords: push-needed
Resolution: --- → FIXED
Keywords: push-needed
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: