Skip to content

[Issue] Remove recursion in location of static files. #31530

Closed
@m2-assistant

Description

@m2-assistant

This issue is automatically created based on existing pull request: #30883: Remove recursion in location of static files.


Description (*)

Magento 2.4-develop
The default NGINX config contains a possible bug in location static, that leads to infinite recursion.
This PR remove it.

Manual testing scenarios (*)

  1. Enable Static content signing.
  2. Try to open URL like [MAGE_URL]/static/version-example

Expected: 404 page
Actual: 500 error

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds are green)

Metadata

Metadata

Assignees

Labels

Issue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: doneReproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchSeverity: S2Major restrictions or short-term circumventions are required until a fix is available.

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions