Loading lib/ldap.c +4 −4 Original line number Original line Diff line number Diff line Loading @@ -503,26 +503,26 @@ static bool unescape_elements (void *data, LDAPURLDesc *ludp) int i; int i; if (ludp->lud_filter) { if (ludp->lud_filter) { ludp->lud_filter = curl_easy_unescape(data, ludp->lud_filter, 0); ludp->lud_filter = curl_easy_unescape(data, ludp->lud_filter, 0, NULL); if (!ludp->lud_filter) if (!ludp->lud_filter) return (FALSE); return (FALSE); } } for (i = 0; ludp->lud_attrs && ludp->lud_attrs[i]; i++) { for (i = 0; ludp->lud_attrs && ludp->lud_attrs[i]; i++) { ludp->lud_attrs[i] = curl_easy_unescape(data, ludp->lud_attrs[i], 0); ludp->lud_attrs[i] = curl_easy_unescape(data, ludp->lud_attrs[i], 0, NULL); if (!ludp->lud_attrs[i]) if (!ludp->lud_attrs[i]) return (FALSE); return (FALSE); } } for (i = 0; ludp->lud_exts && ludp->lud_exts[i]; i++) { for (i = 0; ludp->lud_exts && ludp->lud_exts[i]; i++) { ludp->lud_exts[i] = curl_easy_unescape(data, ludp->lud_exts[i], 0); ludp->lud_exts[i] = curl_easy_unescape(data, ludp->lud_exts[i], 0, NULL); if (!ludp->lud_exts[i]) if (!ludp->lud_exts[i]) return (FALSE); return (FALSE); } } if (ludp->lud_dn) { if (ludp->lud_dn) { char *dn = ludp->lud_dn; char *dn = ludp->lud_dn; char *new_dn = curl_easy_unescape(data, dn, 0); char *new_dn = curl_easy_unescape(data, dn, 0, NULL); free(dn); free(dn); ludp->lud_dn = new_dn; ludp->lud_dn = new_dn; Loading Loading
lib/ldap.c +4 −4 Original line number Original line Diff line number Diff line Loading @@ -503,26 +503,26 @@ static bool unescape_elements (void *data, LDAPURLDesc *ludp) int i; int i; if (ludp->lud_filter) { if (ludp->lud_filter) { ludp->lud_filter = curl_easy_unescape(data, ludp->lud_filter, 0); ludp->lud_filter = curl_easy_unescape(data, ludp->lud_filter, 0, NULL); if (!ludp->lud_filter) if (!ludp->lud_filter) return (FALSE); return (FALSE); } } for (i = 0; ludp->lud_attrs && ludp->lud_attrs[i]; i++) { for (i = 0; ludp->lud_attrs && ludp->lud_attrs[i]; i++) { ludp->lud_attrs[i] = curl_easy_unescape(data, ludp->lud_attrs[i], 0); ludp->lud_attrs[i] = curl_easy_unescape(data, ludp->lud_attrs[i], 0, NULL); if (!ludp->lud_attrs[i]) if (!ludp->lud_attrs[i]) return (FALSE); return (FALSE); } } for (i = 0; ludp->lud_exts && ludp->lud_exts[i]; i++) { for (i = 0; ludp->lud_exts && ludp->lud_exts[i]; i++) { ludp->lud_exts[i] = curl_easy_unescape(data, ludp->lud_exts[i], 0); ludp->lud_exts[i] = curl_easy_unescape(data, ludp->lud_exts[i], 0, NULL); if (!ludp->lud_exts[i]) if (!ludp->lud_exts[i]) return (FALSE); return (FALSE); } } if (ludp->lud_dn) { if (ludp->lud_dn) { char *dn = ludp->lud_dn; char *dn = ludp->lud_dn; char *new_dn = curl_easy_unescape(data, dn, 0); char *new_dn = curl_easy_unescape(data, dn, 0, NULL); free(dn); free(dn); ludp->lud_dn = new_dn; ludp->lud_dn = new_dn; Loading