Page MenuHomePhabricator

Pdf file with a / in the name are not viewed when edit
Open, Needs TriagePublic

Description

If I have a pdf file with a slash (/) in the name, the side by side editing do not view the image.

In the HTML, the "prp-page-image" <div> are empty

<div class="prp-page-image"></div>

Steps to Reproduce

  1. Add a pdf file with a / in the name, eg. File:My/File.pdf
  2. Create a Index page for the pdf file, eg Index:My/File.pdf
  3. Edit a Page, eg. Page:My/File.pdf/1

Actual Results
No image is viewed

Expected Results
Image for the page should be viewed

Event Timeline

@Magol: Which MediaWiki version are you running? Or if there is a public example/testcase, could you please provide a link?

Version:
MediaWiki: 1.31.0
ProofreadPage: rEPRP52882fd20df1

It is a private wiki, sorry