Content
View differences
Updated by Judith Roth 9 days ago
### Steps to reproduce
0\. Run an openproject instance behind a relative url like /openproject
```text
docker run --rm -e OPENPROJECT_HOST__NAME=localhost:9090 -e SECRET_KEY_BASE=42 -e OPENPROJECT_RAILS__RELATIVE__URL__ROOT=/openproject -e OPENPROJECT_HTTPS=false -p 9090:80 -it openproject/openproject:17.4
```
1. Log into OpenProject and open a browser console network tab, where you can observe if GET requests come back with 404.
2. Use the document module of OpenProject and create a new document
###
What is the buggy behavior?
* blocknote css can't be found
* documents url does not contain the prefix
* the relative root url is not correctly applied
### What is the expected behavior?
<br>
1. The correct relative root url (e.g. /openproject) should be respected
<br>
### Screenshots and other files
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/921285/content">
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/921287/content">
### Environment information
<br>
**OpenProject version**
_17.4_
docker run --rm -e OPENPROJECT_HOST__NAME=localhost:9090 -e SECRET_KEY_BASE=42 -e OPENPROJECT_RAILS__RELATIVE__URL__ROOT=/openproject -e OPENPROJECT_HTTPS=false -p 9090:80 -it openproject/openproject:17.4
```
1. Log into OpenProject and open a browser console network tab, where you can observe if GET requests come back with 404.
###
* documents url does not contain the prefix
* the relative root url is not correctly applied
### What is the expected behavior?
<br>
1. The correct relative root url (e.g. /openproject) should be respected
<br>
### Screenshots and other files
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/921285/content">
### Environment information
<br>
**OpenProject version**
_17.4_