Opened 3 years ago

Closed 4 weeks ago

#13022 closed Bug Report - General (fixed)

cannot download from MythWeb when on IPv6

Reported by: myth@… Owned by: Stuart Auchterlonie
Priority: minor Milestone: 31.0
Component: Plugin - MythWeb Version: 0.28.1
Severity: medium Keywords: ipv6
Cc: Ticket locked: no

Description

Hi there, if I browser MythWeb using IPv6, eg: https://[fd80:ab:ba::400]/mythweb/

I am not able to download any show.

The download-link presented at https://[fd80:ab:ba::400]/mythweb/tv/recorded is wrong, for example, for a current show it is: https://[fd80//mythweb/pl/stream/29008/1491140700

where it should be: https://[fd80:ab:ba::400]/mythweb/pl/stream/29008/1491140700

There seems to be a problem with IPv6's :, as Mythweb prints out the IPv6 until the first : and then adds the download path

Greetings, Joe

Change History (3)

comment:1 Changed 4 weeks ago by Stuart Auchterlonie

Milestone: unknown31.1
Status: newaccepted

I can observe this artifact in the web debugger.

FYI, downloads over ipv6 work if the hostname resolves properly and returns an ipv6 record.

comment:2 Changed 4 weeks ago by Stuart Auchterlonie

Milestone: 31.131.0

comment:3 Changed 4 weeks ago by Stuart Auchterlonie <stuarta@…>

Resolution: fixed
Status: acceptedclosed

In 1303263ca/mythweb:

Fixes #13022 - Generate correct URL for direct downloads

Note: See TracTickets for help on using tickets.