Article delegate-en/1278 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
[Reference:<_A1277@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: rewriting problem with cgi program
01 Aug 2001 19:20:58 GMT feedback@delegate.org (Yutaka Sato)


In message <_A1277@delegate-en.ML_>
on 08/02/01(02:30:26) you Dennis <p4qcabdyi-yavwm62pvvxr.ml@ml.delegate.org> wrote:
 |I'm still running into a situation where I get non-rewritten URLs. If you
 |log into webmail and either add or delete a folder, the returned page will
 |have all non-rewritten URLs.

I reproduced the problem with Navigator and saw the reponse data is
encoded in gzip which causes the problem again.  And I found that,
sorry, my patch to remove Accept-Encoding field was applicable to
requests with GET method but not to POST method.
The patch for src/http.c must be like enclosed one.

Cheers,
Yutaka
--
  @ @ Yutaka Sato <y.sato@delegate.org> http://www.delegate.org/y.sato/
 ( - ) National Institute of Advanced Industrial Science and Technology (AIST)
_<   >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan

*** ../../delegate7.4.1/src/http.c	Mon Jul 23 03:48:18 2001
--- http.c	Thu Aug  2 04:18:31 2001
***************
*** 3589,3594 ****
--- 3589,3597 ----
  	genProxyReqFields(Conn,genfields,cpath);
  	MountReferer(Conn,REQ_FIELDS);
  	strcat(genfields,REQ_FIELDS);
+ 	if( cpath || DO_DELEGATE || IsMounted /* or with filter, or ... */ ){
+ 		replaceFieldValue(genfields,"Accept-Encoding","");
+ 	}
  
  	if( with_reqbody ){
  		if( relayRequestBody1(Conn,fc,ts,fs,REQ,genfields) )

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V