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

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

Open
PrinceNebulon opened this issue Feb 23, 2015 · 0 comments

Comments

@PrinceNebulon
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant