Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Streaming and EPG links do not work for channel names containing single quote #1638

Open
rodajc opened this issue Jul 3, 2024 · 0 comments
Labels
BUG 🐞 Not working as expected

Comments

@rodajc
Copy link

rodajc commented Jul 3, 2024

If the name of the channel contains a single quote like this: '
then the links to show the EPG and to start streaming do not work.
This is caused by the html code generated when retrieving a bouquet, e.g. for the channel called That's Dance on 28.2E:

<a href="#" onclick="open_epg_dialog('1:0:1:D387:830:2:11A0000:0:0:0:','That's Dance')" title="Show EPG for That's Dance"><i class="fa fa-list-alt"></i></a>
<a href="#" onclick="jumper8001('1:0:1:D387:830:2:11A0000:0:0:0:', 'That's Dance');" title="Stream: That's Dance"><i class="fa fa-desktop"></i></a>
<a href="#" onclick="jumper8002('1:0:1:D387:830:2:11A0000:0:0:0:', 'That's Dance');" title="Stream (transcoded): That's Dance"><i class="fa fa-mobile"></i></a>

The single quote in the channel name is included in a single quoted string, corrupting the string passed to the function calls.

Maybe someone can check this in OpenWebif v2 and open this issue there as I don't have v2 installed.

@rodajc rodajc added the BUG 🐞 Not working as expected label Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BUG 🐞 Not working as expected
Projects
None yet
Development

No branches or pull requests

1 participant