Skip to content

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

@rodajc

Description

@rodajc

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BUG 🐞Not working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions