Skip to content

Setting an invalid Cookie domain crash the website #35048

Closed
@wajihkm

Description

@wajihkm

Preconditions (*)

2.4.3 p1

Steps to reproduce (*)

  1. Store >> Configurations >> Web >> Default Cookie Settings Cookie Domain
  2. Enter invalid value: eg: magento.localhost,staging.com

Expected result (*)

  1. Show warning

Actual result (*)

  1. The website crashs
  2. {"0":"Warning: Cookie domains cannot contain any of the following ',; \t\r\n\013\014' in /magento243p1/vendor/magento/framework/Stdlib/Cookie/PhpCookieManager.php on line 152"

Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

  • 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”.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: Admin UIComponent: CookieIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P1Once P0 defects have been fixed, a defect having this priority is the next candidate for fixing.Progress: doneReported on 2.4.3-p1Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions