Skip to content

日志中应该隐藏secret信息 #556

Description

@wongoo

如下,请求有异常时会将所有请求信息都打印到日志中,大家查看错误日志时都能看到appid和secret, 能不能将secret的内容变为星号?

【请求参数】:js_code=001tZveq0SMoiq1AEXeq0ECJeq0tZveZ&secret=5681022fa1643845392367ea88888888&grant_type=authorization_code&appid=wxe156d4848d999999 【异常信息】:api.weixin.qq.com:443 failed to respond,level:ERROR,location:cn.binarywang.wx.miniapp.api.impl.WxMaServiceImpl.exe

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions