Skip to content

After uploading a torrent show a message to the user if the torrent info-hash changes #242

@josecelano

Description

@josecelano

Parent issue: #496
Relates to: torrust/torrust-index#260

The info-hash of the uploaded torrent might change if it contains custom fields in the info dictionary because the Index does not parse/store them.

In such cases, we show a warning to users.

The response after uploading the torrent will contain the original infohash after merging this PR:

{
    "data": {
        "torrent_id": 174,
        "canonical_info_hash": "8aa01a4c816332045ffec83247ccbc654547fedf",
        "info_hash": "6c690018c5786dbbb00161f62b0712d69296df97"
    }
}

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions