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
commit efc2e3ab17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

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.