Skip to content

The downloaded torrent filename is the torrent title instead of the original torrent file name #205

@josecelano

Description

@josecelano

If you upload a new torrent file with the name mandelbrot_2048x2048.png.torrent and then you download it by clicking on the download button:

image

The file name will be: mandelbrot.torrent when you save it on disk. It does not use the original torrent name included in the content-disposition header.

image

The record in the database:

image

It's using the torrent title. I think it's a frontend issue because the backend adds the content-disposition header with the filename.

It seems there are different ways and priorities to define the filename:

image

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    EasyGood for Newcomers

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions