소스 검색

Remove escaped access tokens from logs too

Fixes #135. This is probably not a proper solution, but at least takes
care of it.
Vincent Lang 9 년 전
부모
커밋
61062fa428
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/main.cpp

+ 1 - 0
src/main.cpp

@@ -83,6 +83,7 @@ static void elidePattern(QString& msg, const QString& substring, int chars)
 static void processLog(QString& msg)
 {
   elidePattern(msg, "X-Plex-Token=", 20);
+  elidePattern(msg, "X-Plex-Token%3D", 20);
 }
 
 /////////////////////////////////////////////////////////////////////////////////////////