Project

General

Profile

Actions

Bug / Feature #1818

closed

Arabic characters provoke an error in LDM

Added by corvus about 13 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
16 October 2011
Due date:
% Done:

100%

Estimated time:
Request Type:
Bug Report

Description

When try to save an LDM-Object containing arabic characters one ends up with an Invalid syntax error:

MODPATH/ldap/classes/ldirectory.php [ 391 ]

386         {
387             $error = ldap_err2str(ldap_errno($this->_connection));
388             // Read dn for logging purpose
389             $entry['dn'] = $dn;
390             Ltool::log( Ltool::ALERT, Kohana::message('ldap', 'add_error'), $entry, array( ':error' => $error));
391               throw new Kohana_Exception(':error [ :dn ]', array(':error' => $error, ':dn' => $dn));
392         }
393 
394         // Read dn for logging purpose
395         $entry['dn'] = $dn;
396         Ltool::log( Ltool::INFO, Kohana::message('ldap', 'add_success'), $entry);

I suppose the UTF is not correctly encoded in the LDM-Module.

Actions

Also available in: Atom PDF