HTTP sources are broken on certain web servers (fix included)
#1
I would submit a bug via trac, but the system that converts new forum users into trac logins seems to be broken at the moment as well.

on line 55 of xbmc/filesystem/HTTPDirectory.cpp we have the following regexp:

reItem.RegComp("<a href=\"(.*)\">(.*)</a>");

Unfortunately this is a case sensitive regexp, and various web servers (including Apache 1.3.x, still widely used) present an uppercase directory index. This results in HTTP sources not working at all.

The solution is to make it a case insensitive regexp, hopefully this makes it into git before Eden is released.
Reply
#2
Fix looks valid - will see if I can sneak it in.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#3
https://github.com/xbmc/xbmc/commit/a74d...b628b17e29

Cheers,
Jonathan
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#4
Excellent, thanks =)
Reply

Logout Mark Read Team Forum Stats Members Help
HTTP sources are broken on certain web servers (fix included)0