Merge pull request #242 from bigbluebutton/escape-uid-url

Escape room uid when generating invite path.
This commit is contained in:
Joshua Arts
2018-08-16 13:33:44 -04:00
committed by GitHub

View File

@ -39,9 +39,9 @@ class Room < ApplicationRecord
bbb.is_meeting_running?(bbb_id)
end
# Determines the invite URL for the room.
# Determines the invite path for the room.
def invite_path
"#{Rails.configuration.relative_url_root}/#{uid}"
"#{Rails.configuration.relative_url_root}/#{CGI.escape(uid)}"
end
# Creates a meeting on the BigBlueButton server.