Skip to content

VidyoWeb simple interface doesn't support URI encoded querystring parameters #22

@PrinceNebulon

Description

@PrinceNebulon

In index.html from the VidyoWeb simple sample v1.10, the _getUrlVars) function should decode each querystring value before storing it. Here is the method with the decodeURIComponent function in use:

function getUrlVars() {
    var vars = {};
    var parts = window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi, function(m,key,value) {
        vars[key] = decodeURIComponent(value);
    });
    console.debug(vars);
    return vars;
}

This must be fixed by Vidyo since they own the source for the VidyoWeb simple sample. The workaround is simply to add the decodeURIComponent function call where shown above. This issue will remain open until Vidyo provides a release with this fix in place.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions