- encode xml response to UTF-16. Fixes issue 421
git-svn-id: http://bigbluebutton.googlecode.com/svn/trunk@3966 af16638f-c34d-0410-8cfa-b39d5352b314
This commit is contained in:
parent
6e6d73e6af
commit
1613c9bd59
@ -343,7 +343,7 @@ class ApiController {
|
||||
withFormat {
|
||||
xml {
|
||||
log.debug "Rendering as xml"
|
||||
render(contentType:"text/xml") {
|
||||
render(contentType:"text/xml", encoding:"UTF-16") {
|
||||
response() {
|
||||
returncode(RESP_CODE_SUCCESS)
|
||||
meetings() {
|
||||
@ -414,7 +414,7 @@ class ApiController {
|
||||
response.addHeader("Cache-Control", "no-cache")
|
||||
withFormat {
|
||||
xml {
|
||||
render(contentType:"text/xml") {
|
||||
render(contentType:"text/xml", encoding:"UTF-16") {
|
||||
response() {
|
||||
returncode(RESP_CODE_SUCCESS)
|
||||
meetingToken("${conf.meetingToken}")
|
||||
@ -448,7 +448,7 @@ class ApiController {
|
||||
withFormat {
|
||||
xml {
|
||||
log.debug "Rendering as xml"
|
||||
render(contentType:"text/xml") {
|
||||
render(contentType:"text/xml", encoding:"UTF-16") {
|
||||
response() {
|
||||
returncode(RESP_CODE_SUCCESS)
|
||||
meetingToken("${conf.meetingToken}")
|
||||
@ -462,7 +462,7 @@ class ApiController {
|
||||
}
|
||||
json {
|
||||
log.debug "Rendering as json"
|
||||
render(contentType:"text/json") {
|
||||
render(contentType:"text/json", encoding:"UTF-16") {
|
||||
returncode(RESP_CODE_SUCCESS)
|
||||
meetingToken("${conf.meetingToken}")
|
||||
meetingID("${conf.meetingID}")
|
||||
|
@ -250,7 +250,7 @@ class PublicScheduledSessionController {
|
||||
response.addHeader("Cache-Control", "no-cache")
|
||||
withFormat {
|
||||
xml {
|
||||
render(contentType:"text/xml") {
|
||||
render(contentType:"text/xml", encoding:"UTF-16") {
|
||||
'join'() {
|
||||
returncode("SUCCESS")
|
||||
fullname("$fname")
|
||||
|
Loading…
Reference in New Issue
Block a user