Comments (7)
Indeed this is a bug. If no entries found, the correct error message should be displayed.
from white-pages.
Done. The test on error number was wrong.
from white-pages.
At cfae137, message prints to the user when using pattern like "foo*" : "LDAP communication error".
To my mind, it's a "Bad search filter error". Could you override PHP LDAP error message to print a more friendly message like : "Forbidden pattern in search" ?
from white-pages.
Currently, error message "LDAP communication error" leads users to believe a technical error on software. This implies bad reputation for White Pages. Search error message seems more accurate (i.e. Incorrect search : *
not allowed).
from white-pages.
I'm not sure that overriding PHP LDAP messages is a good idea, but it is maybe the only option. We should also see how to prevent user from doing an invalid search
from white-pages.
from white-pages.
Fixed by #21
from white-pages.
Related Issues (20)
- [WP 0.3] Problem with vCard export HOT 7
- Bad value displayed when attribute type is a list HOT 7
- Backup files are loaded as config in lang/
- Login Logout pages HOT 1
- WP not connecting to my ldap server HOT 5
- 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
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.