Bug #2018
Bug #2012: invalid Url from own urlparse()
IPTV unicast
0%
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
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
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.
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.
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.
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