Commit dfdbc9ac authored by Jibon Costa's avatar Jibon Costa
Browse files

remove urlencode()

parent 92c37069
composer.phar
/vendor/
composer.lock
.DS_Store
## Directory-based project format:
.idea/
......
......@@ -753,7 +753,7 @@ class CreateMeetingParameters extends MetaParameters
*/
public function setEndCallbackUrl($endCallbackUrl)
{
$this->addMeta('endCallbackUrl', urlencode($endCallbackUrl));
$this->addMeta('endCallbackUrl', $endCallbackUrl);
return $this;
}
......@@ -764,7 +764,7 @@ class CreateMeetingParameters extends MetaParameters
*/
public function setRecordingReadyCallbackUrl($recordingReadyCallbackUrl)
{
$this->addMeta('bbb-recording-ready-url', urlencode($recordingReadyCallbackUrl));
$this->addMeta('bbb-recording-ready-url', $recordingReadyCallbackUrl);
return $this;
}
......
......@@ -60,8 +60,8 @@ class CreateMeetingParametersTest extends TestCase
$this->assertEquals($params['lockSettingsLockOnJoin'], $createMeetingParams->isLockSettingsLockOnJoin());
$this->assertEquals($params['lockSettingsLockOnJoinConfigurable'], $createMeetingParams->isLockSettingsLockOnJoinConfigurable());
$this->assertEquals($params['meta_presenter'], $createMeetingParams->getMeta('presenter'));
$this->assertEquals($params['meta_endCallbackUrl'], urlencode($createMeetingParams->getMeta('endCallbackUrl')));
$this->assertEquals($params['meta_bbb-recording-ready-url'], urlencode($createMeetingParams->getMeta('bbb-recording-ready-url')));
$this->assertEquals($params['meta_endCallbackUrl'], $createMeetingParams->getMeta('endCallbackUrl'));
$this->assertEquals($params['meta_bbb-recording-ready-url'], $createMeetingParams->getMeta('bbb-recording-ready-url'));
// Check values are empty of this is not a breakout room
$this->assertNull($createMeetingParams->isBreakout());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment