HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Problem with embed vanilla - Url format incompatible with jsconnect

edited February 2012 in Feedback

embed vanilla Plugin for wordpress does not work due to the following problem:
$Result = $Url.'?'.http_build_query($Query);
in class.jsconnect.plugin.php on line 97 there has to be a & instead of a ? in order for jsconnect to work with the Authentication Url given by the embed vanilla plugin...

Comments

  • If you do so however compatibility issues will of course arise in case you use jsconnect to connect to other systems...

  • x00x00 MVP
    edited February 2012
    var $UrlParts= $Url.match(/(.*)\??(.*)/);
    $Url = $UrlParts[1].'?'.http_build_query($Query).'&'.$UrlParts[2];
    

    grep is your friend.

  • eventually I solved it with preg_split, @x00 thanks for your advice

Sign In or Register to comment.