Found out that changes made in rev 67c78a0 cause those problems:
Lines 309 - 311
+ if ($this->modx->getOption('base_url', null, MODX_BASE_URL) !== $_SERVER['REQUEST_URI']) {
+ $this->modx->sendRedirect($this->modx->getOption('site_url', null, MODX_SITE_URL), array('responseCode' => 'HTTP/1.1 301 Moved Permanently'));
+ }
In my gateway plugin, I did not change the base_url. Therefore, it tried to redirect for
http://mydomain.be/fr/ with request_uri = '/fr/' but base_url was '/' all the time. Fixed it by changing my gateway plugin.
Thanks for your help!