- set_otherInformationString(&req->otherInfo, VAL_PROXY, 1, m_host);
+ {
+ char *rawhost = new char[strlen(m_host)+1];
+ strcpy(rawhost, m_host);
+ char *dbpart = strchr(rawhost, '/');
+ if (dbpart)
+ *dbpart = '\0';
+ set_otherInformationString(&req->otherInfo, VAL_PROXY, 1, rawhost);
+ delete [] rawhost;
+ }