mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-18 08:31:16 +02:00
2021-11-08 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in the rdxport.cgi service that caused XML output to be encoded with the incorrect character set. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// savestring.cpp
|
||||
// tests.cpp
|
||||
//
|
||||
// Rivendell web service portal -- save string test
|
||||
//
|
||||
@@ -51,7 +51,7 @@ void Xport::SaveString()
|
||||
// Process Request
|
||||
//
|
||||
rda->syslog(LOG_INFO,"SAVESTRING: |%s|",(const char *)string.toUtf8());
|
||||
printf("Content-type: application/xml; charset: UTF-8\n");
|
||||
printf("Content-type: application/xml; charset=utf-8\n");
|
||||
printf("Status: 200\n\n");
|
||||
printf("<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n");
|
||||
printf("%s\n",(const char *)RDXmlField("string",string).toUtf8());
|
||||
|
Reference in New Issue
Block a user