-
Notifications
You must be signed in to change notification settings - Fork 852
Open
Labels
auto-triage-skipneeds infoAn issue that is claimed to be a bug and hasn't been reproduced, or otherwise needs more infoAn issue that is claimed to be a bug and hasn't been reproduced, or otherwise needs more infoweb-client
Description
Reproducible in:
The Slack SDK version
slack_sdk==3.39.0
Python runtime version
Python 3.11.10
OS info
22.04.1-Ubuntu SMP Tue Dec 2 12:52:18 UTC 2025
Steps to reproduce:
Run the following
import os
from slack_sdk.web import WebClient
import logging
os.environ["HTTPS_PROXY"]="http://bob:secret@example.com"
logging.basicConfig(level=logging.DEBUG)
x = WebClient(token='fake')Expected result:
The credentials part of the proxy URL should be redacted or the URL not printed at all.
Actual result:
The full URL gets printed, including user:pass
DEBUG:slack_sdk.web.base_client:HTTP proxy URL has been loaded from an env variable: http://bob:secret@example.com
Metadata
Metadata
Assignees
Labels
auto-triage-skipneeds infoAn issue that is claimed to be a bug and hasn't been reproduced, or otherwise needs more infoAn issue that is claimed to be a bug and hasn't been reproduced, or otherwise needs more infoweb-client