odr_malloc(encode, strlen(hreq->path) +
strlen(uri_args) + strlen(solr_op) + 5);
+ cp = strchr(hreq->path, '#');
+ if (cp)
+ *cp = '\0';
cp = strchr(hreq->path, '?');
if (cp)
{
char *name[MAX_SRU_PARAMETERS], *value[MAX_SRU_PARAMETERS]; /* definite upper limit for SRU params */
char *uri_args;
char *path;
+ char *cp;
z_HTTP_header_add_basic_auth(encode, &hreq->headers,
srw_pdu->username, srw_pdu->password);
hreq->method = "GET";
+ cp = strchr(hreq->path, '#');
+ if (cp)
+ *cp = '\0';
+
path = (char *)
odr_malloc(encode, strlen(hreq->path) + strlen(uri_args) + 4);