Giter Site home page Giter Site logo

Comments (8)

coudot avatar coudot commented on August 27, 2024

We indeed need to use ldap_escape: http://php.net/manual/en/function.ldap-escape.php

from white-pages.

plewin avatar plewin commented on August 27, 2024

@coudot depends. ldap_escape is not supported under 5.6. what is the php minimum version for white pages ?

People use the polyfill when supporting previous php (like we do in ssp)
https://github.com/symfony/polyfill-php56

Or the original code
https://stackoverflow.com/questions/8560874/php-ldap-add-function-to-escape-ldap-special-characters-in-dn-syntax

from white-pages.

coudot avatar coudot commented on August 27, 2024

Hello @plewin

I think we can require at least php 5.6 for white pages.

from white-pages.

coudot avatar coudot commented on August 27, 2024

Done. Just "*" is allowed for the moment in advanced search for default text inputs.

from white-pages.

nqb avatar nqb commented on August 27, 2024

Update doc #24 and LTB wiki (https://ltb-project.org/documentation/white-pages/0.2/install_tarball).

Maybe we need to add php 5.6 depends in :

  • packaging/rpm/SPECS/white-pages.spec (RPM)
  • packaging/debian/conffiles (Debian)

from white-pages.

coudot avatar coudot commented on August 27, 2024

I'm not sure PHP < 5.6 is still packaged on current Deb/RPM distros. We have PHP 5.6 on CentOS 6 and PHP 7 on CentOS 7.

from white-pages.

nqb avatar nqb commented on August 27, 2024

Debian Wheezy (oldoldstable) has PHP 5.4.45 but I don't know if we can run WP on that distro (regarding other depends).

from white-pages.

coudot avatar coudot commented on August 27, 2024

It's not a problem to not support such old versions. Wheezy is supported by Debian as LTS only until may 2018: https://www.debian.org/releases/wheezy/

from white-pages.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.