Skip to content

Incorrect AJAX Endpoint When Form Keys Are Disabled #56

@astayart

Description

@astayart

Hi, i installed your module to enable cloudflare cache purging from the magento admin, but it does not work. it looks like a magento controller is missing from your module. here is a screen shot of the 404 error when i click the "purge everything" button:
Screen Shot 2020-11-24 at 12 02 01 PM

from my knowledge of magento, the router is looking for a file named "Index.php" but none exists in the folder. the full url for the 404 error shown is: http://theinventingmachines.com/admin/cloudflare/api_caching_purgeCache/

this resolves to the folder: vendor/jetrails/magento2-cloudflare/Controller/Adminhtml/Api/Caching/PurgeCache/
but that folder only contains the files:

[astayart: PurgeCache]# ls -1
Everything.php
Hostname.php
Prefix.php
Tag.php
Url.php

Thanks.

Metadata

Metadata

Assignees

Labels

bugSomething is not working as expectedpriority: highShould be taken care of right away

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions