Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for blocking rest api requests #575

Closed
herrvigg opened this issue Jun 23, 2018 · 1 comment
Closed

Fix for blocking rest api requests #575

herrvigg opened this issue Jun 23, 2018 · 1 comment
Labels
legacy PR Legacy PR imported from original repo

Comments

@herrvigg
Copy link
Collaborator

Issue by venkatraj
Friday Feb 16, 2018 at 12:00 GMT
Originally opened as qTranslate-Team/qtranslate-x#575


Hi John Clause,

I'm Venkat and working for UpdraftPlus. One of our plugin (we recently acquired it) Easy Updates Manager uses REST API and React for dashboard settings. Since your plugin redirects incoming requests (to append language to url), it redirects REST API calls as well. Even though it works for GET calls, POST calls gives a 404.

We have solved it using your filter qtranslate_language_detect_redirect, but since rest api is in core, I think you too don't want to redirect the rest api url.

This branch has fix for blocking rest api requests. If you could review, merge and release a plugin update, It is much appreciated. Thanks in advance.

Regards,
Venkat


venkatraj included the following code: https://github.com/qTranslate-Team/qtranslate-x/pull/575/commits

@herrvigg herrvigg added the legacy PR Legacy PR imported from original repo label Jun 23, 2018
@herrvigg
Copy link
Collaborator Author

Fix released in qTranslate-XT 3.5.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
legacy PR Legacy PR imported from original repo
Projects
None yet
Development

No branches or pull requests

1 participant