aboutsummaryrefslogtreecommitdiff
path: root/jobs/basejob.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2017-10-25 15:55:29 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2017-10-25 15:55:29 +0900
commit6600905fb0704e0d22eb776167750f341e7f3d98 (patch)
tree29eab54dd7c1aec599a1e35fe205a67c4b591cb7 /jobs/basejob.cpp
parent34faa56649f04fafd6ace276ba186070f41901be (diff)
downloadlibquotient-6600905fb0704e0d22eb776167750f341e7f3d98.tar.gz
libquotient-6600905fb0704e0d22eb776167750f341e7f3d98.zip
Fixed a typo in the logs
Diffstat (limited to 'jobs/basejob.cpp')
-rw-r--r--jobs/basejob.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/jobs/basejob.cpp b/jobs/basejob.cpp
index eb78dec8..aa47f63c 100644
--- a/jobs/basejob.cpp
+++ b/jobs/basejob.cpp
@@ -84,7 +84,7 @@ QDebug QMatrixClient::operator<<(QDebug dbg, const BaseJob::Status& s)
{
QRegularExpression filter { "(access_token)=[-_A-Za-z0-9]+" };
return dbg << s.code << ':'
- << QString(s.message).replace(filter, "\1=HIDDEN");
+ << QString(s.message).replace(filter, "\\1=HIDDEN");
}
BaseJob::BaseJob(HttpVerb verb, const QString& name, const QString& endpoint,