odoo / odoo/docker

Odoo 13 docker redirect breaks urls containing utf-8 scandinavian chars

Open
#351 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Dockerfile
Stars
1.2k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

If in container I do:
root@odoo13dev-stateful-0:/# curl -i localhost:8069/en_GB/sp_integration/dir/t%C3%A4t%C3%A4%20testataan%20%C3%B6%C3%B6
HTTP/1.0 302 FOUND
Content-Type: text/html; charset=utf-8
Content-Length: 455
Location: http://localhost:8069/web/login?redirect=http%3A%2F%2Flocalhost%3A8069%2Fsp_integration%2Fdir%2Ft%EF%BF%BDt%EF%BF%BD+testataan+%EF%BF%BD%EF%BF%BD
As you see there is no character %C3%A4 (ä) in redirect url and this url does not work. Is there something wrong in configuration of odoo or linux. Any ideas how to resolve problem? I am using quite resent odoo13 docker image as base image.

Thank you of any help.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the supplied curl request inside the Odoo 13 Docker container and compare the encoded request path with the Location header. Inspect the Odoo redirect behavior and container configuration involved; done means the redirect preserves the UTF-8 Scandinavian characters and the resulting URL works.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.