filter except not working |
Hi, am facing issue with except csrf filter in filters
Code: public array $globals = [
Type this in your terminal and paste the result here:
Code: php spark filter:check post administrator/school/registration/remove
09-07-2023, 09:21 AM
(This post was last modified: 09-07-2023, 09:44 AM by hinditutorpoint. Edit Reason: add some detail )
+--------+------------------------------------------+------------------------------------------------+-------------------------------------+
| Method | Route | Before Filters | After Filters | +--------+------------------------------------------+------------------------------------------------+-------------------------------------+ | POST | administrator/school/registration/remove | ajax honeypot invalidchars csrf throttle admin | ajax honeypot secureheaders toolbar | +--------+------------------------------------------+------------------------------------------------+-------------------------------------+ response this csrf error The action you requested is not allowed. ci : 4.3.5 uri white listed working perfect but ci:4.4.0 not working
(09-07-2023, 09:21 AM)hinditutorpoint Wrote: +--------+------------------------------------------+------------------------------------------------+-------------------------------------+ This simply means that CSRF filter is being applied to the url. Can you show the complete code for your filter file app/Config/Filters.php ? |
Welcome Guest, Not a member yet? Register Sign In |