From 4bc24eb6cae52b33d3fccbb1e6b6ced5f56996f0 Mon Sep 17 00:00:00 2001 From: joke2k Date: Sun, 13 Nov 2016 20:10:42 +0100 Subject: [PATCH] add tips into README about unsafe characters in URLs --- README.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.rst b/README.rst index ae6310ea..d48bc227 100644 --- a/README.rst +++ b/README.rst @@ -211,6 +211,16 @@ Supported Types Tips ==== +Using unsafe characters in URLs +------------------------------- + +In order to use unsafe characters you have to encode with `urllib.parse.encode` before you set into `.env` file. +.. code-block:: + DATABASE_URL=mysql://user:%23password@127.0.0.1:3306/dbname + + +See `https://perishablepress.com/stop-using-unsafe-characters-in-urls/` for reference. + Email settings --------------