Skip to content

docs: document percent-encoding special characters in broker URLs - #11169

Open
meat-daemon-404 wants to merge 1 commit into
celery:mainfrom
meat-daemon-404:docs/broker-url-password-encoding
Open

meat-daemon-404 wants to merge 1 commit into
celery:mainfrom
meat-daemon-404:docs/broker-url-password-encoding

Conversation

@meat-daemon-404

Copy link
Copy Markdown

Summary

Documents in docs/getting-started/backends-and-brokers/index.rst that broker URLs are parsed via urllib.parse, so usernames or passwords containing URL-reserved or delimiter characters (such as [, ], ?, #, @, :, /, %) must be percent-encoded using urllib.parse.quote(..., safe="").

Fixes #9921

Add a note to the Backends and Brokers guide explaining that broker
usernames and passwords containing URL delimiter characters (such as
[, ], ?, #, @, :, /, %) must be percent-encoded with
urllib.parse.quote(..., safe="") before embedding them in broker_url.

Fixes celery#9921

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Password Character Restrictions For Broker Configuration

1 participant