Use xmlEncode for proper unicode handling
This commit is contained in:
parent
2fcaeabf1c
commit
c5cf87071c
@ -133,7 +133,7 @@ namespace Online
|
|||||||
void addParameter(const std::string &name,
|
void addParameter(const std::string &name,
|
||||||
const irr::core::stringw &value)
|
const irr::core::stringw &value)
|
||||||
{
|
{
|
||||||
std::string s = StringUtils::wideToUtf8(value);
|
std::string s = StringUtils::xmlEncode(value);
|
||||||
|
|
||||||
// Call the template to escape strings properly
|
// Call the template to escape strings properly
|
||||||
addParameter(name, s.c_str());
|
addParameter(name, s.c_str());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user