getExternalUrl($uri) gives wrong url to the file

Created on 12 March 2019, about 6 years ago
Updated 27 October 2020, over 4 years ago

I am using Multilanguage.
When in German the assets urls point to /de/_flysystem/../../....jpg etc

Saw that getExternalUrl() has

if ($this->isPublic === FALSE) {
      return $this->getDownloadlUrl($uri);
}

which is using Url::fromRoute() in flysystem which is adding the language code to the url

Copied from https://www.drupal.org/project/flysystem_s3/issues/3018000 β†’ because we should fix it into flysystem.

πŸ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡¨πŸ‡΄Colombia sergiogsanchez

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024