From e6e28fd4814e1f513773288710e1bcb3cfad0028 Mon Sep 17 00:00:00 2001 From: "Felix (xq) Queißner" Date: Mon, 8 Jun 2020 20:27:06 +0200 Subject: Fixes bug with URL escaping, adds experimental text highlighting --- src/geminiclient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/geminiclient.cpp') diff --git a/src/geminiclient.cpp b/src/geminiclient.cpp index 6e63991..8117a4f 100644 --- a/src/geminiclient.cpp +++ b/src/geminiclient.cpp @@ -55,7 +55,7 @@ bool GeminiClient::cancelRequest() void GeminiClient::socketEncrypted() { - QString request = target_url.toString() + "\r\n"; + QString request = target_url.toString(QUrl::FormattingOptions(QUrl::FullyEncoded)) + "\r\n"; QByteArray request_bytes = request.toUtf8(); -- cgit v1.2.3