Skip to content

[Bug] Unexpected File Download When Previewing Text-based PDF in Knowledge Base 关于Nowledge Mem资料库PDF文字版资料的问题 #199

@abcd22132

Description

@abcd22132

**Describe the bug**
A clear and concise description of what the bug is.
我向知识库上传了两个文档:

0-C Primer Plus 第6版 非扫描版 中文版.pdf(非扫描版本)

1-C++ Primer Plus(第6版)中文版.pdf

当我点击知识库中的非扫描版本时,文件会自动在我的下载文件夹中创建一个副本。每次点击都会发生这种情况——如果我点击三次,就会出现三个副本。

然而,这不会发生在C++书的扫描版本上。

你能调查一下为什么预览非扫描PDF会触发意外的文件下载/复制到下载文件夹吗?我希望预览文件不会在我的下载目录中留下重复的副本。
I uploaded two documents to the Knowledge Base:

0-C Primer Plus 第6版 非扫描版 中文版.pdf (Non-scanned version)

1-C++ Primer Plus(第6版)中文版.pdf

When I click on the non-scanned version inside the Knowledge Base, an identical copy of the file is automatically created in my Downloads folder. This happens every time I click on it—if I click three times, three copies appear.

However, this does not happen with the scanned version of the C++ book.

Could you please investigate why previewing the non-scanned PDF triggers an unexpected file download/copy to the Downloads folder? I would prefer that previewing files does not leave duplicate copies in my Downloads directory.

To Reproduce
Steps to reproduce the behavior:
直接上传这个非扫描的文档,然后进入资料库,点击这个文件就会在下载目录里面出现,浏览器无任何的提示,(就在浏览器的下载保存目录里面,根据你的电脑浏览器下载保存的目录来确定)
Description:
I uploaded a non-scanned (text-based) PDF document to the Knowledge Base. When I navigate to the Knowledge Base and click on the file to preview it, a copy of the file is automatically and silently saved to my browser's default download directory.

Steps to Reproduce:

Upload a non-scanned (text-based) PDF to the Knowledge Base.

Navigate to the Knowledge Base page.

Click on the PDF file name to preview it.

Check the browser's default download directory.

Actual Result:
An identical copy of the file appears in the download directory immediately after clicking. There is no download prompt or notification from the browser during this process. If I click the file multiple times, multiple duplicate copies are created.

Expected Result:
Previewing a PDF in the Knowledge Base should not generate any redundant files in the local download directory.
Expected behavior
A clear and concise description of what you expected to happen.
希望能早点解决这个问题,这个问题已经让我感觉到头大了。
A clear and concise description of what you expected to happen.
I really hope this issue can be resolved soon. It's been driving me crazy.
Screenshots
If applicable, add screenshots to help explain your problem.

Image

Additional context
Add any other context about the problem here.
相关的日志抓取信息Add any other context about the problem here.
Relevant log capture informationLogfile.CSV

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions