If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

WebExtensions with backslash in description are considered corrupt

RESOLVED INVALID

Status

()

Toolkit
WebExtensions: Untriaged
RESOLVED INVALID
2 years ago
2 years ago

People

(Reporter: ato, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

2 years ago
When a WebExtension has a backslash character, "\", in its description field, Firefox considers the extension to be corrupt.
(Reporter)

Comment 1

2 years ago
Created attachment 8702873 [details]
backslash-in-description.xpi

Attaching a WebExtension which manifest.json contains a description with the backslash character in it.
By contrast, an XPI extension may have a backslash in the appropriate field of its install.rdf, and the backslash appears in the add-on's description at about:addons. One example of such an extension is abcTajpu https://addons.mozilla.org/addon/abctajpu/
s/an XPI extension/a "classical" extension/
Component: Add-ons Manager → WebExtensions
Backslash characters in JSON strings need to be escaped. The only characters allowed to follow a backslash in JSON strings are: "\/ubfnrt
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.