aboutsummaryrefslogtreecommitdiff
path: root/jobs/basejob.cpp
diff options
context:
space:
mode:
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,