Skip to content

[Bug]: Cannot display full file name if it contains sharp symbol (#) #19990

Open
@journey191

Description

@journey191

Attach (recommended) or Link to PDF file

test#1.pdf

Web browser and its version

any

Operating system and its version

window10

PDF.js version

latest

Is the bug present in the latest PDF.js version?

Yes

Is a browser extension

No

Steps to reproduce the problem

1.Open demo https://mozilla.github.io/pdf.js/web/viewer.html
2.Open local pdf file : test#1.pdf

What is the expected behavior?

display full file name: test#1.pdf

What went wrong?

The title of viewer.html is "1.pdf", and so is the download file name.

Image

Link to a viewer

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions