Skip to content

Commit 90aa1c2

Browse files
committed
Merge remote-tracking branch 'benma/escape'
2 parents 9ae91a3 + 4b7278f commit 90aa1c2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

frontends/qt/main.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,14 +136,14 @@ class RequestInterceptor : public QWebEngineUrlRequestInterceptor {
136136

137137
// All the requests originated in the wallet-connect section are allowed, as they are needed to
138138
// load the Dapp logos and it is not easy to filter out non-images requests.
139-
bool onWCPage = currentUrl.contains(QRegularExpression("^qrc:/account/[^\/]+/wallet-connect/.*$"));
139+
bool onWCPage = currentUrl.contains(QRegularExpression(R"(^qrc:/account/[^\/]+/wallet-connect/.*$)"));
140140
if (onWCPage) {
141141
return;
142142
}
143143

144144
// Needed for the wallet connect workflow.
145-
bool VerifyWCRequest = requestedUrl.contains(QRegularExpression("^https://verify\.walletconnect\.com/.*$"));
146-
if (VerifyWCRequest) {
145+
bool verifyWCRequest = requestedUrl.contains(QRegularExpression(R"(^https://verify\.walletconnect\.com/.*$)"));
146+
if (verifyWCRequest) {
147147
return;
148148
}
149149

0 commit comments

Comments
 (0)