You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
The text was updated successfully, but these errors were encountered: