Opened 13 years ago

Closed 13 years ago

#3747 closed defect (fixed)

Mythweb uses port 80 in video_url function returns for https, should use 443

Reported by: anonymous Owned by: xris
Priority: minor Milestone: unknown
Component: mythweb Version: unknown
Severity: medium Keywords:
Cc: Ticket locked: no

Description

On line 341 of mythweb/include/utils.php (as of rev 13987), the line reads:

: 'https://'.$_SERVER['HTTP_HOST'].':'._or($_SESSION['stream']['force_http_port'], '80')).root."pl/stream/$show->chanid/$show->recstartts";

but should read

: 'https://'.$_SERVER['HTTP_HOST'].':'._or($_SESSION['stream']['force_http_port'], '443')).root."pl/stream/$show->chanid/$show->recstartts";

I think the reason why this is the case is reasonably clear. :-)

Change History (2)

comment:1 Changed 13 years ago by xris

Component: mythtvmythweb
Owner: changed from Isaac Richards to xris

comment:2 Changed 13 years ago by xris

Resolution: fixed
Status: newclosed

(In [13989]) Fix http port override to work for http or https, along with translation updates and fixing the settings page so that it will no longer default to port 80. closes #3747

Note: See TracTickets for help on using tickets.