littleredbutton / bigbluebutton-api-php

Unofficial (but better) PHP API for @BigBlueButton
GNU Lesser General Public License v3.0
25 stars 12 forks source link

Fixed UrlBuilder prepending an extra & if parameters are empty #72

Closed FelixJacobi closed 3 years ago

FelixJacobi commented 3 years ago

I noted that the UrlBuilder always prepends & to the checksum parameter even if the parameters. The final URL then looks like [...]/getMeetings?&checksum=[...]. This breaks nothing but is a bit confusing.

Therefor: Fixed and test case added. As I am currently working with PHP 8, this is based on the PHP 8 PR (#70) and for now a draft for this reason. Rebased against master.