src/server/daemon/httprequest.c

changeset 696
27e42da5050f
parent 683
db37761a8494
equal deleted inserted replaced
695:ff14b97bdf14 696:27e42da5050f
294 pb_key_uri, 294 pb_key_uri,
295 absPath.ptr, 295 absPath.ptr,
296 absPath.length, 296 absPath.length,
297 rq->rq.reqpb); 297 rq->rq.reqpb);
298 } else { 298 } else {
299 // error
300
299 // util_uri_unescape_strict can modify absPath.ptr, but 301 // util_uri_unescape_strict can modify absPath.ptr, but
300 // we want to log the original uri. However we also don't want to 302 // we want to log the original uri. However we also don't want to
301 // create an unnecessary copy. Therefore we restore the original 303 // create an unnecessary copy. Therefore we restore the original
302 // uri here by calling util_canonicalize_uri again 304 // uri here by calling util_canonicalize_uri again
303 absPath.ptr = util_canonicalize_uri( 305 absPath.ptr = util_canonicalize_uri(

mercurial