MutationDigitale / craft3-translate

Craft CMS plugin for static translations in CP
Other
12 stars 7 forks source link

[BUG] Parse utility form has action attribute which redirects to homepage after parsing is complete #17

Closed Antimated closed 3 years ago

Antimated commented 3 years ago

First of all, great plugin!

We are using this plugin for a client and locally everything works fine. Although when we try to parse our templates on our staging environment we get instantly redirected to the homepage.

The issue lies in the utilities.twig file of the plugin. For some reason there is an action attribute set on that form which breaks the behavior. Using the inspector and removing the form action fix the issue.

We also redirect "/" to "/nl/" by default in our .htaccess file so that might influence this behavior.

Screenshot: bug

smcyr commented 3 years ago

Thank you, it was fixed in 2.4.1

Antimated commented 3 years ago

Thanks man!