Displaying 1 result from an estimated 1 matches for "http_url_allow_userinfo_part".
2020 Nov 15
2
[patch] enhancement for tika server protected by user/password basic auth
...er-tika.c? 2020-11-15
15:18:24.351281064 +0100
@@ -57,7 +57,7 @@
??????? tuser = p_new(user->pool, struct fts_parser_tika_user, 1);
??????? MODULE_CONTEXT_SET(user, fts_parser_tika_user_module, tuser);
-?????? if (http_url_parse(url, NULL, 0, user->pool,
+?????? if (http_url_parse(url, NULL, HTTP_URL_ALLOW_USERINFO_PART,
user->pool,
?????????????????????????? &tuser->http_url, &error) < 0) {
??????????????? i_error("fts_tika: Failed to parse HTTP url %s: %s",
url, error);
??????????????? return -1;
@@ -152,6 +152,11 @@
??????????????????????? http_url->host.name,
?????????????????????...