Skip to content

2.2.4 Product Name Quote not escaped #15491

@woakley

Description

@woakley

Preconditions

  1. Magento 2.2.4

Steps to reproduce

  1. Enter product with double quote in product name (3" Quicktape)
  2. View product

Expected result

  1. Product should display correctly

Actual result

Uncaught SyntaxError: Unexpected token Q in JSON at position 124
at JSON.parse ()
at getData (VM580 main.js:58)
at Array.map ()
at HTMLDocument.apply (VM580 main.js:74)
at fire (VM604 jquery.js:3232)
at Object.add [as done] (VM604 jquery.js:3291)
at jQuery.fn.init.jQuery.fn.ready (VM604 jquery.js:3542)
at jQuery.fn.init (VM604 jquery.js:2967)
at new jQuery.fn.init (VM626 jquery-migrate.js:225)
at jQuery (VM604 jquery.js:75)

The Q is the character after the quote in the product name

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue: Format is validGate 1 Passed. Automatic verification of issue format passed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions