Skip to content

Conversation

@bencroker
Copy link

Front-end action URL requests are treated differently than control panel action URL requests. Snaptcha, for example, blocks all POST requests to the front-end that do not contain a validation field value. CP requests however are not validated because the user is assumed to anyway be authenticated.

Since XHR calls to searchit/element-filters/get are valid for the CP only, this pull request changes the XHR request from the front-end URL to the base CP URL for more consistent behaviour. I hope you'll consider it :)

Change XHR request URL to base CP URL.
@john-henry
Copy link

+1 for this request. It's really stopping clients using plugin as filters don't appear in most cases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants