]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Fix: Generated secret key may include single or double quotes (#5767)
authortrs <13055656+schmidtnz@users.noreply.github.com>
Wed, 14 Feb 2024 23:06:54 +0000 (12:06 +1300)
committerGitHub <noreply@github.com>
Wed, 14 Feb 2024 23:06:54 +0000 (23:06 +0000)
install-paperless-ngx.sh

index c53fcb7223578f86c35a5ba5dd38c281cebb1577..ca3b309e429fb357918071afede092a64596f0eb 100755 (executable)
@@ -315,7 +315,7 @@ fi
 wget "https://raw.githubusercontent.com/paperless-ngx/paperless-ngx/main/docker/compose/docker-compose.$DOCKER_COMPOSE_VERSION.yml" -O docker-compose.yml
 wget "https://raw.githubusercontent.com/paperless-ngx/paperless-ngx/main/docker/compose/.env" -O .env
 
-SECRET_KEY=$(LC_ALL=C tr -dc 'a-zA-Z0-9!"#$%&'\''()*+,-./:;<=>?@[\]^_`{|}~' < /dev/urandom | dd bs=1 count=64 2>/dev/null)
+SECRET_KEY=$(LC_ALL=C tr -dc 'a-zA-Z0-9!#$%&()*+,-./:;<=>?@[\]^_`{|}~' < /dev/urandom | dd bs=1 count=64 2>/dev/null)
 
 
 DEFAULT_LANGUAGES=("deu eng fra ita spa")