Commit 48681c39 authored by Agate's avatar Agate 💬

Merge branch 'patch-1' into 'develop'

Update configuration.rst for unsafe characters in URLs

Closes #1049

See merge request !1061
parents 9e68aea7 48179948
Pipeline #10034 passed with stages
in 8 minutes and 31 seconds
......@@ -16,7 +16,17 @@ and technical aspects of your instance, such as database credentials.
You should restart all Funkwhale processes when you change the values
on environment variables.
.. note::
Some characters are unsafe to use in configuration variables that are URLs,
such as the user and password in the database and SMTP sections.
If those variables contain such characters, they must be urlencoded, for
instance using the following command:
``python3 -c 'import urllib.parse; print(urllib.parse.quote_plus("p@ssword"))``
.. _instance-settings:
......@@ -65,6 +75,15 @@ Possible values:
- ``smtp+ssl://``: Send emails via SMTP via on port 465, using SSL encryption, authenticating as user "user" with password "password"
- ``smtp+tls://``: Send emails via SMTP via on port 587, using TLS encryption, authenticating as user "user" with password "password"
.. note::
If ``user`` or ``password`` contain special characters (eg.
```` as ``user``), be sure to urlencode them, using
for example the command:
``python3 -c 'import urllib.parse; print(urllib.parse.quote_plus(""))'``
(returns ````)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment