Skip to content

Commit

Permalink
Upgrade to 1.2.6.6
Browse files Browse the repository at this point in the history
  • Loading branch information
williamdes committed Apr 1, 2023
1 parent 2d71722 commit 53338b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 53338b9

Please sign in to comment.