forked from External/greenlight
Merge pull request #242 from bigbluebutton/escape-uid-url
Escape room uid when generating invite path.
This commit is contained in:
commit
efc2e3ab17
|
@ -39,9 +39,9 @@ class Room < ApplicationRecord
|
||||||
bbb.is_meeting_running?(bbb_id)
|
bbb.is_meeting_running?(bbb_id)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Determines the invite URL for the room.
|
# Determines the invite path for the room.
|
||||||
def invite_path
|
def invite_path
|
||||||
"#{Rails.configuration.relative_url_root}/#{uid}"
|
"#{Rails.configuration.relative_url_root}/#{CGI.escape(uid)}"
|
||||||
end
|
end
|
||||||
|
|
||||||
# Creates a meeting on the BigBlueButton server.
|
# Creates a meeting on the BigBlueButton server.
|
||||||
|
|
Loading…
Reference in New Issue