escape uid in invite path

This commit is contained in:
Joshua Arts 2018-08-16 13:25:32 -04:00
parent f0610f363d
commit f8af2fc3bf
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.