Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pike
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pikelang
pike
Commits
4ad4cd94
Commit
4ad4cd94
authored
25 years ago
by
Honza Petrous
Browse files
Options
Downloads
Patches
Plain Diff
Added decoding of UTF8 strings in results (for v3 protocol)
Rev: lib/modules/Protocols.pmod/LDAP.pmod/client.pike:1.14
parent
67abdc38
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/modules/Protocols.pmod/LDAP.pmod/client.pike
+9
-1
9 additions, 1 deletion
lib/modules/Protocols.pmod/LDAP.pmod/client.pike
with
9 additions
and
1 deletion
lib/modules/Protocols.pmod/LDAP.pmod/client.pike
+
9
−
1
View file @
4ad4cd94
// LDAP client protocol implementation for Pike.
// LDAP client protocol implementation for Pike.
//
//
// $Id: client.pike,v 1.1
3
2000/02/1
2
1
0
:5
7:02
hop Exp $
// $Id: client.pike,v 1.1
4
2000/02/1
7
1
7
:5
9:53
hop Exp $
//
//
// Honza Petrous, hop@unibase.cz
// Honza Petrous, hop@unibase.cz
//
//
...
@@ -46,6 +46,8 @@
...
@@ -46,6 +46,8 @@
// [ Escaping untested, yet ]
// [ Escaping untested, yet ]
// v1.13 2000-02-12 - fixed search NOT op bug (end revision normalized)
// v1.13 2000-02-12 - fixed search NOT op bug (end revision normalized)
//
//
// v1.14 2000-02-17 - added decoding of UTF8 strings for v3 protocol
//
// Specifications:
// Specifications:
//
//
// RFC 1558 (search filter representations)
// RFC 1558 (search filter representations)
...
@@ -131,6 +133,12 @@
...
@@ -131,6 +133,12 @@
}
}
res += ({attrs});
res += ({attrs});
}
}
if(ldap_version == 3) {
// deUTF8
res = Array.map(res, utf8_to_string);
}
return (res);
return (res);
} // _New_decode
} // _New_decode
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment