The modules uses a 301 redirect to switch between languages. I think this is caused by the window.location.href in the javascript, which could be fixed by just submitting the form instead.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

stella created an issue. See original summary.

stella’s picture

Status: Active » Needs review
FileSize
1.02 KB

Attached patch changes it from a 301 to a 303 (default for formState setRedirect()).

Status: Needs review » Needs work

The last submitted patch, 2: 2845573-1-redirect.patch, failed testing.

kala4ek’s picture

Assigned: Unassigned » kala4ek

  • kala4ek committed eba000c on 8.x-2.x authored by stella
    Issue #2845573 by stella, kala4ek: Dropdown uses a 301 redirection
    
kala4ek’s picture

Assigned: kala4ek » Unassigned
Status: Needs work » Fixed

Make sense, committed, thanks.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.