Project

General

Profile

Bug #2018

Bug #2012: invalid Url from own urlparse()

IPTV unicast

Added by Dan Poz almost 11 years ago. Updated over 10 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
IPTV
Target version:
-
Start date:
2014-03-22
Due date:
% Done:

0%

Estimated time:
Found in version:
3.9.470~g6482d33
Affected Versions:

Description

after the last update from the git (HTS Tvheadend 3.9.470~g6482d33) stopped working unicast IPTV

2014-03-22 14:31:25.000 mpegts: http://176.50.176.11:1234/udp/233.7.70.109:5000 - starting for 'initscan' (weight 2)
2014-03-22 14:31:25.000 mpegts: http://176.50.176.11:1234/udp/233.7.70.109:5000 - tuning on IPTV
2014-03-22 14:31:25.000 iptv: http://176.50.176.11:1234/udp/233.7.70.109:5000 - invalid URL [http://176.50.176.11:1234/udp/233.7.70.109:5000]
2014-03-22 14:31:25.000 mpegts: http://176.50.176.11:1234/udp/233.7.70.109:5000 - failed to start, try another

History

#1

Updated by Adam Sutton almost 11 years ago

To be honest I had no idea that was even a valid URL, I'll check the parser. Or if you're capable maybe you could take a look and submit a PR?

Adam

#2

Updated by Dan Poz almost 11 years ago

waht is PR?

#3

Updated by MinGyoon Woo almost 11 years ago

I already issued this. It is related with url.c's regexp part without external uriparser.

https://tvheadend.org/issues/2012. It is already fixed by Adam, but I'm not sure 3.9.470 had this fix.

#4

Updated by Dan Poz almost 11 years ago

the previous version worked such muxes

#5

Updated by Dan Poz almost 11 years ago

thanks
really, in line 101 url.с there is an error.
now:

#define URL_RE "^([A-Za-z)://(("UC"+)(:("PC"+))?@)?("HC"+)(:([0-9]+))?(/.*)?"

I removed the symbol @ and all works.

#6

Updated by MinGyoon Woo almost 11 years ago

I am re-open the bug 2021 with related url.c

#define URL_RE "([A-Za-z]+)://(("UC"+)(:("PC"+))?@)?("HC"+)(:([0-9]+))?(/.*)?" 

is correct.
#7

Updated by Adam Sutton over 10 years ago

  • Status changed from New to Rejected
  • Parent task set to #2012

This is a duplicate of #2012

Also available in: Atom PDF