Skip to content
This repository was archived by the owner on Nov 11, 2020. It is now read-only.
This repository was archived by the owner on Nov 11, 2020. It is now read-only.

Issue using environment variable credentials with $ char #85

@giovannicimolin

Description

@giovannicimolin

Because how database credentials are imported, if there's a $ character in the password, it'll be truncated and notifier will fail to start.

Steps to reproduce:

  1. Edit the notifier_env file and change the password like this:
export NOTIFIER_DATABASE_PASSWORD="#$S6WRDWjJV"
  1. Using the env, go into django shell with python manage.py shell:
>>> from django.conf import settings
>>> settings.DATABASES['default']['PASSWORD']
'#'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions