bigbluebutton
bigbluebutton copied to clipboard
getRecordings returning encoded metadata values
Author Name: Leonardo Daronco (Leonardo Daronco) Original Redmine Issue: 621, http://dev.mconf.org/redmine/issues/621 Original Date: 2013-02-28
For some reason Mconf-Live is returning encoded values for metadata fields when "non-standard" characters are used.
For example, passing the metadata "meta_test=GRAVAÇÃO" will result in the following:
-
The string is encoded so it can be used in a URL. The create URL will be something like:
The metadata is encoded as: meta_test=GRAVA%C3%87%C3%82O. This is encoded with javascript's @encodeURIComponent@.
-
@getMeetingInfo@ will return this metadata encoded in another format:
This is "hex code" format, see: http://www.danshort.com/HTMLentities/index.php?w=latin
-
@getRecordings@ returns the same "hex code"-encoded string, but inside a CDATA[]:
Probably Mconf-Live should unescape the values received since they will always be encoded/escaped (they come in a URL).
Useful links:
- http://www.the-art-of-web.com/javascript/escape/#.US--_oc-vbs
Original Redmine Comment Author Name: Anonymous (Anonymous) Original Date: 2013-05-24T18:58:35Z
Applied in changeset mconf-web-ufrgs:mconf-web-ufrgs|commit:cc5083c964bd11f9ad2274ecedd02f8c0cb388ac.