I have…
- [X] Read the following guideline: https://docs.squidex.io/01-getting-started/installation/troubleshooting-and-support. I understand that my support request might get deleted if I do not follow the guideline.
I’m submitting a…
- [ ] Regression (a behavior that stopped working in a new release)
- [X] Bug report
- [ ] Performance issue
- [ ] Documentation issue or request
Current behavior
Requests from some requests of the CLI are sent to the domain without the folder /cms/. If that calls gets a redirect the operation fails. Example of these calls:
dev.example.com 172.16.53.1 - - [21/Apr/2022:10:04:56 +0000] “GET /api/apps HTTP/1.1”
dev.example.com 172.16.53.1 - - [21/Apr/2022:10:05:25 +0000] “GET /api/apps/homes/schemas HTTP/1.1”
dev.example.com 172.16.53.1 - - [21/Apr/2022:10:05:38 +0000] “GET /api/apps/homes/schemas HTTP/1.1”
dev.example.com 172.16.53.1 - - [21/Apr/2022:10:10:19 +0000] "GET /api/apps/homes/assets/folders?parentId=00000000-0000-0000-0000-000000000000
I have tried with configs with ending slash and without, an the results are the same:
https://www.example.com/cms
https://www.example.com/cms/
Expected behavior
Requests are made to the URL set in sq config add. (https://www.example.com/cms/). So the above requests should be:
“GET /cms/api/apps HTTP/1.1”
“GET /cms/api/apps/homes/schemas HTTP/1.1”
“GET /cms/api/apps/homes/schemas HTTP/1.1”
"GET /cms/api/apps/homes/assets/folders?parentId=00000000-0000-0000-0000-000000000000
Minimal reproduction of the problem
Use a url parameter with a path in the URL:
Environment
App Name: homes
- [X] Self hosted with docker
- [ ] Self hosted with IIS
- [ ] Self hosted with other version
- [ ] Cloud version
Version: [VERSION]
CLI 8.8.0
Browser:
- [ ] Chrome (desktop)
- [ ] Chrome (Android)
- [ ] Chrome (iOS)
- [ ] Firefox
- [ ] Safari (desktop)
- [ ] Safari (iOS)
- [ ] IE
- [ ] Edge
Others: