{"data":{"id":"ACSD-61845","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the error that occurs when a request is sent with only \"text/html\" accept header.","categories":["Other"],"components":["magento/module-quote"],"origin":"adobe-commerce-support","documentation":{"url":"https://experienceleague.adobe.com/en/docs/commerce-operations/tools/quality-patches-tool/patches-available-in-qpt/v1-1-54/acsd-61845-error-occurs-for-requests-with-text-html-accept-header","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-54/acsd-61845-error-occurs-for-requests-with-text-html-accept-header.md","blobSha":"2844375d7e09855bcf7215e085b5c343450ba262","description":"When sending an HTTP request with only text/html in the accept header, a 500 error occurs due to a mismatch in the media type configuration.","stepsToReproduce":"1. Send a request with only text/html in the accept header, as follows: curl -I --header \"Accept: text/html, text/plain\" http://<hostname>/pub/","introducedInQpt":"1.1.54","createdFor":["2.4.7-p1"],"documentedRange":"2.4.7-p1 - 2.4.7-p3","scheduledFixRelease":"2.4.8"},"files":[{"package":"magento/magento2-base","constraint":">=2.4.7-p1 <2.4.7-p6","path":"patches/os/ACSD-61845_2.4.7-p1.patch","blobSha":"f197534341a51bd8d872812ae737f2a29fb6a006","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/ACSD-61845_2.4.7-p1.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-quote/Model/QuoteValidator.php","change":"modified","package":"magento/module-quote"},{"path":"vendor/magento/module-quote/Plugin/Webapi/Model/ErrorRedirectProcessor.php","change":"added","package":"magento/module-quote"},{"path":"vendor/magento/module-quote/etc/webapi_rest/di.xml","change":"modified","package":"magento/module-quote"}],"packages":["magento/module-quote"],"hasTests":false,"applicableVersions":{"magento-community":["2.4.7-p5","2.4.7-p4","2.4.7-p3","2.4.7-p2","2.4.7-p1"],"magento-commerce":["2.4.7-p5","2.4.7-p4","2.4.7-p3","2.4.7-p2","2.4.7-p1"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false},{"package":"magento/magento2-base","constraint":">=2.4.7-p6 <2.4.7-p10","path":"patches/os/ACSD-66539_2.4.7-p6.patch","blobSha":"3800d2ecd2b84037ee152a35d2d8c7c1cc00ab7e","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/ACSD-66539_2.4.7-p6.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-quote/Model/QuoteValidator.php","change":"modified","package":"magento/module-quote"},{"path":"vendor/magento/module-quote/Plugin/Webapi/Model/ErrorRedirectProcessor.php","change":"added","package":"magento/module-quote"},{"path":"vendor/magento/module-quote/etc/webapi_rest/di.xml","change":"modified","package":"magento/module-quote"}],"packages":["magento/module-quote"],"hasTests":false,"applicableVersions":{"magento-community":["2.4.7-p9","2.4.7-p8","2.4.7-p7","2.4.7-p6"],"magento-commerce":["2.4.7-p9","2.4.7-p8","2.4.7-p7","2.4.7-p6"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false}],"applicableVersions":{"magento-community":["2.4.7-p9","2.4.7-p8","2.4.7-p7","2.4.7-p6","2.4.7-p5","2.4.7-p4","2.4.7-p3","2.4.7-p2","2.4.7-p1"],"magento-commerce":["2.4.7-p9","2.4.7-p8","2.4.7-p7","2.4.7-p6","2.4.7-p5","2.4.7-p4","2.4.7-p3","2.4.7-p2","2.4.7-p1"],"mage-os":[]},"conditions":{"and":[{"type":"log","path":"var/log/exception.log","match":"report.CRITICAL: Magento\\Framework\\Webapi\\Exception: Server cannot match any of the given Accept HTTP header media type(s) from the request: \"text/html\" with media types from the config of response renderer. in */Webapi/Rest/Response/RendererFactory.php"}]},"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch ACSD-61845 details"}