The image referenced from html file in the sub directory won't be displayed

Created on 13 January 2024, 11 months ago
Updated 14 January 2024, 11 months ago

Problem/Motivation

There is a zip file which contains a HTML file "doc1.html" in the subdirectory "subdir1".
The "doc1.html" refers image file with relative path such like "images/pict.png", but the image file won't be displayed.

[zip file]
my_zip/index.html # contains <a href="subdir1/doc1.html">
my_zip/subdir1/doc1.html # contains <link rel="stylesheet" href="style/style.css">, <img src="images/pict.png">
my_zip/subdir1/style/style.css
my_zip/subdir1/images/pict.png

https://www.drupal.org/node/add/project-issue/minisite#

Steps to reproduce

create zip which contains html file in the subdirectory
upload zip

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

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