Open
Bug 145367
Opened 24 years ago
Updated 2 years ago
use nspr's base64 code in the LDIF import code, instead of having our own implementation
Categories
(MailNews Core :: Import, defect)
MailNews Core
Import
Tracking
(Not tracked)
NEW
People
(Reporter: sspitzer, Unassigned)
Details
(Keywords: helpwanted)
use nspr's base64 code in the LDIF import code, instead of having our own
implementation
see nsTextAddress.cpp
// XXX TODO fix me
// use the NSPR base64 library. see plbase64.h
| Reporter | ||
Comment 1•24 years ago
|
||
this is low priority, code cleanup.
Comment 2•24 years ago
|
||
Another possible approach might be to use the LDAP C SDK code for reading and
writing LDIF format stuff. This would perhaps involve adding an interface or
two to the LDAP XPCOM SDK, but that shouldn't be hard, or perhaps just linking
statically with libldif. The C SDK functions are defined here:
http://lxr.mozilla.org/mozilla/source/directory/c-sdk/ldap/include/ldif.h
http://lxr.mozilla.org/mozilla/source/directory/c-sdk/ldap/libraries/libldif/line64.c
Comment 3•24 years ago
|
||
And in case someone asks: the libldif code does not use NSPR's base64
encode/decode functions because:
1) The code pre-dates NSPR to some extent.
2) I didn't know NSPR had that functionality.
3) There is still a desire from some users of libldap to not have it depend on
NSPR. But I don't think libldap uses libldif so this is not important (the LDAP
command line utilities under ldap/clients/tools do use libldap).
QA Contact: gayatri → stephend
Updated•21 years ago
|
Product: MailNews → Core
Updated•18 years ago
|
QA Contact: stephend → database
| Assignee | ||
Updated•18 years ago
|
Product: Core → MailNews Core
Updated•17 years ago
|
Assignee: cavin → nobody
Component: Database → Import
OS: Windows 2000 → All
QA Contact: database → import
Hardware: PC → All
Target Milestone: Future → ---
Updated•3 years ago
|
Severity: minor → S4
You need to log in
before you can comment on or make changes to this bug.
Description
•