I have two identical installations with regard to everything except for the TYPO3 Version. Both are fresh installs, so the databases should be normal.
In my extension, I make an AJAX call to a page that holds nothing but my plugin with the Content-type:application/html.
In TYPO3 v. 7.6.16, the Ajax response is successful.
In TYPO3 v. 8.7, the Ajax call fails with a 404: not found.
The urls are identical, apart from variation in the cHash.
Does anyone know why this is the case, and what I need to do to correct the situation?
You can generate the cHash and avoid the TYPO3_CONF_VARS settings, by passing a js variable with »f:uri.action« into the ajax url in fluid.
Fluid template:
<script>
var ajaxUrl = '<f:uri.action action="list" pageType="123456"/>';
$.ajax({
url: ajaxUrl,
[...]
look here: https://forge.typo3.org/issues/79970 Go to installtool and uncheck: "pageNotFoundOnCHashError". Thats does it for me.