Skip to content

Commit fb71fb1

Browse files
committed
Upgrade to 1.2.6.5
1 parent e065e30 commit fb71fb1

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

docker/Dockerfile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM alpine:3.17
22

3-
ARG VERSION="1.2.6.4"
3+
ARG VERSION="1.2.6.5"
44
ARG DIST_URL="https://github.com/leenooks/phpLDAPadmin/archive/refs/tags/${VERSION}.tar.gz"
55
ARG BUILD_DATE
66
ARG VCS_REF
@@ -54,10 +54,6 @@ RUN curl -# -L -o phpldapadmin.tar.gz ${DIST_URL} && \
5454
tar -xzf phpldapadmin.tar.gz -C /var/www/phpldapadmin --strip-components=1 && \
5555
rm phpldapadmin.tar.gz && \
5656
rm -vr ./doc/ ./.gitignore ./*.md && \
57-
# See: https://github.com/leenooks/phpLDAPadmin/issues/166
58-
echo "RELEASE-${VERSION}" > ./VERSION && \
59-
# See: https://github.com/leenooks/phpLDAPadmin/issues/165
60-
sed -i -e "/Check the memory limit parameter/,+6d" lib/functions.php && \
6157
php -l lib/functions.php
6258

6359
# Metadata

test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ checkUrl "http://${TEST_ADDR}/index.php" -I
3737
checkUrl "http://${TEST_ADDR}/robots.txt" -I
3838
checkUrl "http://${TEST_ADDR}/images/default/logo-small.png" -I | grep -F "Cache-Control: max-age=315360000"
3939

40-
checkUrl "http://${TEST_ADDR}/index.php" | grep -q -F "1.2.6.4"
40+
checkUrl "http://${TEST_ADDR}/index.php" | grep -q -F "1.2.6.5"
4141
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."
4242

4343
if [ $DID_FAIL -gt 0 ]; then

0 commit comments

Comments
 (0)