浏览代码

Avoids logging query string on callback uri

main
Eric Amodio 2 年前
父节点
当前提交
fbe0caade5
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      src/plus/subscription/serverConnection.ts

+ 2
- 1
src/plus/subscription/serverConnection.ts 查看文件

@ -166,7 +166,8 @@ export class ServerConnection implements Disposable {
}
class UriEventHandler extends EventEmitter<Uri> implements UriHandler {
@log()
// Strip query strings from the Uri to avoid logging token, etc
@log<UriEventHandler['handleUri']>({ args: { 0: u => u.with({ query: '' }).toString(false) } })
public handleUri(uri: Uri) {
this.fire(uri);
}

正在加载...
取消
保存