mirror of
https://github.com/YACReader/yacreader
synced 2025-07-27 09:24:57 -04:00
fixed encoding in basic comic info controller
This commit is contained in:
@ -10,6 +10,8 @@ ComicDownloadInfoController::ComicDownloadInfoController() {}
|
|||||||
|
|
||||||
void ComicDownloadInfoController::service(HttpRequest& request, HttpResponse& response)
|
void ComicDownloadInfoController::service(HttpRequest& request, HttpResponse& response)
|
||||||
{
|
{
|
||||||
|
response.setHeader("Content-Type", "plain/text; charset=utf-8");
|
||||||
|
|
||||||
QString path = QUrl::fromPercentEncoding(request.getPath()).toUtf8();
|
QString path = QUrl::fromPercentEncoding(request.getPath()).toUtf8();
|
||||||
QStringList pathElements = path.split('/');
|
QStringList pathElements = path.split('/');
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user