AI Providers: Cannot edit existing providers in an organization with an Umlaut in its name
- Dominant language
- TypeScript
- Stars
- 22.8k
- Forks
- 783
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 47
Description
### Describe the Bug
If I have an organization like "Mühlenmeister GmbH" with a German Umlaut-ü in its name, and I want to edit an existing provider for this org, I get redirected from the link (like https://pangolin.my-domain/M%C3%BClenmeister-GmbH/settings/ai-providers/weird-five-word-combination) back to https://pangolin.my-domain/M%C3%BClenmeister-GmbH/settings/ai-providers with the provider name stripped off.
The response to the request after clicking on that link carries a next-url: header with the URL to "/settings/ai-providers" as well.
This behavior does not occur in an organization without an Umlaut.
### Environment
- OS Type & Version: Linux
- Pangolin Version: 1.22.1
- Edition (Community or Enterprise): EE
- Gerbil Version: latest
- Traefik Version: latest
- Newt Version: latest
- Client Version: Happens on current Firefox ESR and Chrome.
### To Reproduce
1. Create an Org with an Umlaut in its name.
2. Create one or more AI providers
3. Click Edit in the "AI providers" overview
4. Get redirected back to the overview.
### AI Disclosure
No AI was involved.
### Expected Behavior
I expect to be able to edit AI providers.
Contributor guide
Assessment
This issue has not been assessed yet.