WebUI: Add charset attribute to text content types.

This commit is contained in:
Vladimir Golovnev (Glassez) 2014-11-05 20:11:10 +03:00
parent 7b7f88ae4f
commit d85c3170b2
3 changed files with 6 additions and 6 deletions

View file

@ -50,7 +50,7 @@ HttpResponse AbstractRequestHandler::run()
if (isBanned())
{
status(403, "Forbidden");
print(QObject::tr("Your IP address has been banned after too many failed authentication attempts."));
print(QObject::tr("Your IP address has been banned after too many failed authentication attempts."), CONTENT_TYPE_TXT);
}
else
{