-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Open
Labels
Area: ProductComponent: GraphQLGraphQLGraphQLIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P3May be fixed according to the position in the backlog.May be fixed according to the position in the backlog.Reported on 2.4.8-p1Indicates original Magento version for the Issue report.Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchThe issue has been reproduced on latest 2.4-develop branch
Description
Preconditions and environment
- Magento version 2.4.8-p1
This change produced unnecessary and unreliable escaped product names in GraphQL responses. The GraphQL endpoint should never return escaped values for several reasons:
- Not every platform works with HTML entities, this prevents names from being rendered correctly in native apps.
- The rest of the GraphQL API does not returned escaped variables. This gives developers a false sense of security, and could introduce real security issues when a developer assumes this happens everywhere.
- This was a breaking change.
Steps to reproduce
- In Magento admin, create a product with a special character in the name. For example
>. - Query the
namefrom that product using GraphQL.
Expected result
It should return unescaped > in the name.
Actual result
The GraphQL API returns the escaped greater than sign >
Additional information
No response
Release note
No response
Triage and priority
- Severity: S0 - Affects critical data or functionality and leaves users without workaround.
- Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
- Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
- Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
- Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.
NitrogenUA
Metadata
Metadata
Assignees
Labels
Area: ProductComponent: GraphQLGraphQLGraphQLIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P3May be fixed according to the position in the backlog.May be fixed according to the position in the backlog.Reported on 2.4.8-p1Indicates original Magento version for the Issue report.Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchThe issue has been reproduced on latest 2.4-develop branch
Type
Projects
Status
Ready for Development