From d0dd930080f0e8ed0176cf676e056128669e971d Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 25 Feb 2026 21:04:12 +0000 Subject: [PATCH] remove exposed example passwords from documentation Replace hardcoded example password (MyPass#123/MyPass%23123) and project-specific Supabase references (postgres.myproject) with generic placeholders in docs. https://claude.ai/code/session_01H5wj3VH1Jh28kzepEwdDCx --- docs/source/guides/state.rst | 8 ++++---- docs/source/resources/db_setup/README.md | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/source/guides/state.rst b/docs/source/guides/state.rst index 7cc6b20a..3f875ce1 100644 --- a/docs/source/guides/state.rst +++ b/docs/source/guides/state.rst @@ -165,7 +165,7 @@ Then set the environment variable before running Plano: ./plano .. warning:: - **Special Characters in Passwords**: If your password contains special characters like ``#``, ``@``, or ``&``, you must URL-encode them in the connection string. For example, ``MyPass#123`` becomes ``MyPass%23123``. + **Special Characters in Passwords**: If your password contains special characters like ``#``, ``@``, or ``&``, you must URL-encode them in the connection string. For example, ``P@ss#123`` becomes ``P%40ss%23123``. Supabase Connection Strings ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -202,14 +202,14 @@ Use the direct connection (port 5432): state_storage: type: postgres - connection_string: "postgresql://postgres.myproject:$DB_PASSWORD@aws-0-us-west-2.pooler.supabase.com:5432/postgres" + connection_string: "postgresql://postgres.[YOUR-PROJECT-REF]:$DB_PASSWORD@aws-0-[REGION].pooler.supabase.com:5432/postgres" Then set the environment variable: .. code-block:: bash - # If your password is "MyPass#123", encode it as "MyPass%23123" - export DB_PASSWORD="MyPass%23123" + # If your password is "P@ss#123", encode it as "P%40ss%23123" + export DB_PASSWORD="" Troubleshooting --------------- diff --git a/docs/source/resources/db_setup/README.md b/docs/source/resources/db_setup/README.md index 34aff973..2936d1d6 100644 --- a/docs/source/resources/db_setup/README.md +++ b/docs/source/resources/db_setup/README.md @@ -64,8 +64,8 @@ After setting up the database table, configure your application to use Supabase **Example:** ```bash -# If your password is "MyPass#123", encode it as "MyPass%23123" -export DATABASE_URL="postgresql://postgres.myproject:MyPass%23123@aws-0-us-west-2.pooler.supabase.com:5432/postgres" +# If your password is "P@ss#123", encode it as "P%40ss%23123" +export DATABASE_URL="postgresql://postgres.[YOUR-PROJECT-REF]:@aws-0-[REGION].pooler.supabase.com:5432/postgres" ``` ### Testing the Connection