Urls in report are generated incorrectly

Created on 16 May 2025, 18 days ago

Problem/Motivation

All the url's in the report table have an extra / at the beginning, e.g. //admin/content/files/replace... They can't be clicked on (in chrome).

Also the links to the actual files have 'sites/default/files' hard coded. This does not support sites who have their public files in a different location or multi-site installations.

Steps to reproduce

Install and try to click on URLs in chrome

Proposed resolution

Remove leading / from url paths in code.

Use $file->createFileUrl() to generate file URLs

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States cgmonroe

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

Comments & Activities

Production build 0.71.5 2024