Closed Bug 1235766 Opened 8 years ago Closed 8 years ago

WebExtensions with backslash in description are considered corrupt

Categories

(WebExtensions :: Untriaged, defect)

x86_64
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: ato, Unassigned)

Details

Attachments

(1 file)

When a WebExtension has a backslash character, "\", in its description field, Firefox considers the extension to be corrupt.
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
Closed: 8 years ago
Resolution: --- → INVALID
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: