Displaying 2 results from an estimated 2 matches for "escape_func".
2014 May 03
1
%{orig_user} missing in checkpassword-Script
...dec2str(auth_request->session_pid);
return ret_tab;
by
tab[26].value = auth_request->session_pid == (pid_t)-1 ? NULL :
dec2str(auth_request->session_pid);
if (auth_request->original_username != NULL) {
tab[27].value =
escape_func(auth_request->original_username, auth_request);
tab[28].value =
escape_func(t_strcut(auth_request->original_username, '@'), auth_request);
tab[29].value = strchr(auth_request->original_username,
'@');
if (tab[29].value != NULL...
2006 May 15
1
dovecot ldap auth bind and different directories
...src/auth/auth-request.c 2006-04-12
22:00:06.000000000 -0400
+++ dovecot-1.0.beta8.new/src/auth/auth-request.c 2006-05-15
12:37:06.000000000 -0400
@@ -852,6 +852,7 @@
auth_request_get_var_expand_table(const struct auth_request *auth_request,
const char *(*escape_func)(const char *))
{
+ char *str;
static struct var_expand_table static_tab[] = {
{ 'u', NULL },
{ 'n', NULL },
@@ -869,7 +870,27 @@
if (escape_func == NULL)
escape_func = escape_none;
- tab = t_malloc(sizeo...