From 53338b9feb0096d593d190e9ab637d8ed503f054 Mon Sep 17 00:00:00 2001 From: William Desportes Date: Sat, 1 Apr 2023 16:14:53 +0200 Subject: [PATCH] Upgrade to 1.2.6.6 --- docker/Dockerfile | 2 +- test.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index ef426fa..8c73b7c 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,7 +1,7 @@ # syntax=docker/dockerfile:1 FROM alpine:3.17 -ARG VERSION="1.2.6.5" +ARG VERSION="1.2.6.6" ARG DIST_URL="https://github.com/leenooks/phpLDAPadmin/archive/refs/tags/${VERSION}.tar.gz" ARG BUILD_DATE ARG VCS_REF diff --git a/test.sh b/test.sh index ecf71d8..862683d 100755 --- a/test.sh +++ b/test.sh @@ -37,7 +37,7 @@ checkUrl "http://${TEST_ADDR}/index.php" -I checkUrl "http://${TEST_ADDR}/robots.txt" -I checkUrl "http://${TEST_ADDR}/images/default/logo-small.png" -I | grep -F "Cache-Control: max-age=315360000" -checkUrl "http://${TEST_ADDR}/index.php" | grep -q -F "1.2.6.5" +checkUrl "http://${TEST_ADDR}/index.php" | grep -q -F "1.2.6.6" checkUrl "http://${TEST_ADDR}/cmd.php" "form" "cmd=login&server_id=1&nodecode%5Blogin_pass%5D=1&login=cn%3Dadmin%2Cdc%3Dexample%2Cdc%3Dorg&login_pass=ldapadminpass&submit=Authenticate" | grep -q -F "Successfully logged into server." if [ $DID_FAIL -gt 0 ]; then