Comments (8)
We indeed need to use ldap_escape: http://php.net/manual/en/function.ldap-escape.php
from white-pages.
@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.
Hello @plewin
I think we can require at least php 5.6 for white pages.
from white-pages.
Done. Just "*" is allowed for the moment in advanced search for default text inputs.
from white-pages.
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.
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.
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.
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)
- WP incompatible with PHP 8+ (ldap_sort) HOT 5
- Split debug and debug_smarty
- Provide CSS map files for minified version
- Use LTB LDAP common lib HOT 3
- Displayer for address
- Bug in group display in user and group base are the same
- Missing bin/ directory in packages
- Birthday page
- Add multi-tenancy feature
- Possibility to configure attribute displayed in a DN link
- Feature request: add custom url chat links HOT 1
- New map feature incorrectly deployed : missing map.js HOT 2
- sort for display
- Encoding issue whith dn_link
- use new ltb-ldap v0.2
- Add allowed_lang configuration parameter
- Update bootstrap library
- Remove duplicate detectLanguage code
- Strategy for composer dependencies
- update ltb-ldap library name to ltb-common
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from white-pages.