Unexisting sitemap responds with product image #39756
Labels
Area: Content
Component: Image
Issue: Confirmed
Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed
Priority: P2
A defect with this priority could have functionality issues which are not to expectations.
Reported on 2.4.6-p9
Indicates original Magento version for the Issue report.
Reproduced on 2.4.x
The issue has been reproduced on latest 2.4-develop branch
Preconditions and environment
I believe the behavior is also the same on the latest version, since
pub/media/.htaccess
andnginx.conf.sample
are the same thereSteps to reproduce
<magento>/media/sitemap/foobarbaz
Expected result
Response: 404 NOT FOUND
Actual result
Response: default product image
Additional information
This behavior looks correct in case we are trying to load some unexisting image.
But in case with sitemaps it's important for search engines to have 404
Release note
No response
Triage and priority
The text was updated successfully, but these errors were encountered: