Note: This is with the Sep 2010 release of the 6.x-1.x-dev not the recent Jan 2011 release which unfortunately use the same version names.

When assigning a URL to "Logout URL:" (e.g., http://www.logout-example.com) under "Big Blue Button settings" of a Big Blue Button Content Type, it seems this redirects directly to the Big Blue Button server (e.g,. http://bbb-server.example.com) instead of a different URL with the results being like the following:

http://bbb-server.example.com%2Fwww.logout-example.com

When the Logout URL: is blank and a user hits the Big Blue Button Logout button from a conference, it redirects directly to the Big Blue Button server URL (e.g., http://bbb-server.example.com).

My presumption for this function would be that this would instead redirect to http://www.logout-example.com and not look at the Big Blue Button server judging from the remark, "The URL that the Big Blue Button client will go to after users click the OK button on the You have been logged out message." noted below this field.

Would like to have this clarified and addressed if possible. Thanks in advance.

Comments

sanduhrs’s picture

From the documentation:

The URL that the BigBlueButton client will go to after users click the OK button on the 'You have been logged out message'. This overrides, the value for bigbluebutton.web.loggedOutURL if defined in bigbluebutton.properties

From my understanding that means, I can give any URL and the server should redirect there to.
From what I experienced so far, it only accepts relative URLs in the form of /redirect/to but not http://example.org/redirect/to - at least I never got it to work like so and would consider it a bug in bbb.

LinuxETC’s picture

Status: Active » Closed (works as designed)

I would concur and confirm that the URLs as you noted.

I will change the settings directly in BBB for the time being. Thanks.

Marking this as "closed (work as designed)" since it at the BBB level versus this module.

jvieille’s picture

Title: "Logout URL:" does not redirect appropriately? » "Logout URL:" does not redirect appropriately
Status: Closed (works as designed) » Needs review

the logoutUrl was mistakenly processed by drupal_urlencode

function bbb_api_generate_querystring($call, $params = array()) {
  $query = array();
  // Create the entire query string for your API call without the checksum
  // parameter URL encoding the parameters
  foreach ($params as $key => $value) {
+    if ($key !== 'logoutURL'){
      $query[] = $key . '=' . drupal_urlencode(trim($value));
+    }
+    else{
+      $query[] = $key . '=' . $value;
+    }
  }
  // Putting it together
  $query_string = implode('&', $query);
  return $query_string . '&checksum=' . sha1($call . $query_string . BBB_API_SECURITY_SALT);
}