UrlEncode() methods from core/misc.h are now thread safe
This commit is contained in:
@@ -41,14 +41,13 @@ namespace Winix
|
||||
|
||||
namespace TemplatesFunctions
|
||||
{
|
||||
static std::string urlencode_tmp;
|
||||
// not thread safe
|
||||
static std::string qencode_tmp;
|
||||
|
||||
|
||||
void fil_urlencode(Info & i)
|
||||
{
|
||||
UrlEncode(i.in.Str(), urlencode_tmp);
|
||||
i.out << R(urlencode_tmp);
|
||||
UrlEncode(i.in.Str(), i.out);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user