Content
View differences
Updated by Oliver Günther 4 days ago
### Steps to reproduce
1. Create a work package
2. In the description add a link with an encoded space or umlaut in a URL path, for example [`https://www.test.org/foo/1%20bar/baz`](https://www.test.org/foo/1%20bar/baz) or `https://example.com/?ümlaut=1` [https://www.test.org/foo/1%20bar/baz](https://www.test.org/foo/1%20bar/baz)
3. After having saved the work package and viewing it, click on the link
### What is the buggy behavior?
* The user gets redirected to the OpenProject installation's home page (/)
### What is the expected behavior?
* The user should be redirected to [https://www.test.org/foo/1%20bar/baz](https://www.test.org/foo/1%20bar/baz)
### Workaround
Instead of clicking it, select the text of the link, copy it, and paste it into the browser.
###
###
###
### Environment information
**OpenProject version**
_v17.1.0_
### Comments
The captured link for the example would look like this:
[https://my.openproject.com/external\_redirect?url=https://www.test.org/foo/1%2520/baz](https://my.openproject.com/external_redirect?url=https://www.test.org/foo/1%2520/baz)
The slashes etc. would've been encoded too (to `%2F` for instance) but I ommitted that here for readability.
1. Create a work package
2. In the description add a link with an encoded space or umlaut in a URL path, for example [`https://www.test.org/foo/1%20bar/baz`](https://www.test.org/foo/1%20bar/baz) or `https://example.com/?ümlaut=1`
3. After having saved the work package and viewing it, click on the link
### What is the buggy behavior?
* The user gets redirected to the OpenProject installation's home page (/)
### What is the expected behavior?
* The user should be redirected to [https://www.test.org/foo/1%20bar/baz](https://www.test.org/foo/1%20bar/baz)
### Workaround
Instead of clicking it, select the text of the link, copy it, and paste it into the browser.
###
###
###
### Environment information
**OpenProject version**
_v17.1.0_
### Comments
The captured link for the example would look like this:
[https://my.openproject.com/external\_redirect?url=https://www.test.org/foo/1%2520/baz](https://my.openproject.com/external_redirect?url=https://www.test.org/foo/1%2520/baz)
The slashes etc. would've been encoded too (to `%2F` for instance) but I ommitted that here for readability.