Bug fix: double /fi was generated on redirect.