Hi, In message <_A5023@delegate-en.ML_> on 03/13/12(05:04:50) you <pt4jqbdyi-r7dfpzan6e66.ml@delegate.org> wrote: |I'm running into an issue with delegate where a cookie being set by the proxied webservice is being rewritten from a high level domain (e.g. aaa.net) to the proxied hostname (e.g. env.one.aaa.net). Is it possible to prevent this behavior and not rewrite the domain in a Set-Cookie header? | |I've tried modifying my URICONV line from: | | URICONV=\"full:+,-HTTP-EQUIV/META,-HREF\" \ | |to | | URICONV=\"full:+,-HTTP-EQUIV/META,-HREF,-Set-Cookie\" \ | |with no change in behavior. Any assistance would be greatly appreciated. Your configuration with the URICONV parameter is right and should work like you expected. The enclosed patch will fix the problem. Cheers, Yutaka -- 9 9 Yutaka Sato (CSDP,ITIL-F,OCUP-A,Security+,ISTQB-F) ( ~ ) National Institute of Advanced Industrial Science and Technology _< >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan Do the more with the less -- B. Fuller *** dist/src/delegate9.9.8-pre18/src/httphead.c Mon Aug 30 17:32:23 2010 --- ./src/httphead.c Tue Mar 13 21:24:04 2012 *************** *** 1696,1701 **** --- 1696,1709 ---- CStr(url,URLSZ); CStr(valb,256); + /* fix-120313a */{ + extern int URICONV_MOUNT; + int mmask = URICONV_MOUNT; + int HTML_attrTobeConv(PCStr(attr),PCStr(tag),int *uconvp); + if( HTML_attrTobeConv("Set-Cookie","Header",&mmask) == 0 ){ + return; + } + } lineScan(value,valb); /* sv1log("Set-Cookie: %s\n",valb);