Re[2]: Why can't ap_send_error_response() count on charset?

2002-08-15 Thread Denis Karavayev
Hello! Well, it's maybe not so close to the subject... But... I'm faced up with some problem with the type-map files (yes, for example, with default error pages in Apache distribution). Who can tell me, what is the next line (that can be inserted in type-map files) exactly means: Con

Re: Why can't ap_send_error_response() count on charset?

2002-08-14 Thread Carlo Perassi
On Tue, Aug 13, 2002 at 12:52:25PM -0400, Greg Ames sent those random bytes: > in the html. I am curious to hear what the W3C Validator people say. Well, my message to W3C generated a thread of ten emails. This is a short report of their toughts. 1 - There is no need to specify a meta charset in

Re: Why can't ap_send_error_response() count on charset?

2002-08-13 Thread Marc Slemko
On Tue, 13 Aug 2002, Roy T. Fielding wrote: > Someone could try adding the meta tag to the HTML output instead of > on the content-type, but then they would have to check to see if this > still reduces the cross-site scripting problems that Marc found earlier. My recollection (I would have to ch

Re: Why can't ap_send_error_response() count on charset?

2002-08-13 Thread Roy T. Fielding
>> Can you try it again with current cvs HEAD? I'm not familiar with the >> W3C >> Validator test, but I would hope that if it saw a good http Content-Type >> header, >> it wouldn't need the stuff in the html meta line. > > Me too but I found a problem/feature due to the validator so I just wro

Re: Why can't ap_send_error_response() count on charset?

2002-08-13 Thread Greg Ames
Carlo Perassi wrote: > > On Tue, Aug 13, 2002 at 11:06:57AM -0400, Greg Ames sent those random bytes: > > Can you try it again with current cvs HEAD? I'm not familiar with the W3C > > Validator test, but I would hope that if it saw a good http Content-Type header, > > it wouldn't need the stuff

Re: Why can't ap_send_error_response() count on charset?

2002-08-13 Thread Carlo Perassi
On Tue, Aug 13, 2002 at 11:06:57AM -0400, Greg Ames sent those random bytes: > Can you try it again with current cvs HEAD? I'm not familiar with the W3C > Validator test, but I would hope that if it saw a good http Content-Type header, > it wouldn't need the stuff in the html meta line. Me too b

Re: Why can't ap_send_error_response() count on charset?

2002-08-13 Thread Greg Ames
Carlo Perassi wrote: > > Hi all. > In modules/http/http_protocol.c > the comment say > ap_send_error_response is used for any response that can be generated by the > server from the request record. This includes all [snip] messages that have > not been redirected to another handler via the ErrorD

Why can't ap_send_error_response() count on charset?

2002-08-12 Thread Carlo Perassi
Hi all. In modules/http/http_protocol.c the comment say ap_send_error_response is used for any response that can be generated by the server from the request record. This includes all [snip] messages that have not been redirected to another handler via the ErrorDocument feature. On line 2331 I read