Re: %3F Problem

2001-04-13 Thread Klaus Sonnenleiter
> >So, is there any way to intercept the first call to the URI parser, >determine whether this is one of my previously encoded URIs and replace >the escaped character if it is? Never mind, I just answered that for myself (must have been half asleep when I asked ).

Re: %3F Problem

2001-04-13 Thread Craig R. McClanahan
On Fri, 13 Apr 2001, Klaus Sonnenleiter wrote: > Craig, > > since I'm not really familiar with what the standard says, I can't comment > on that. But I can only tell you what I observed in other HTTP servers and > it appears that most convert a %3F into a question mark some time before > se

Re: %3F Problem

2001-04-13 Thread Klaus Sonnenleiter
Remy, Craig, Yes, you're right. I read the specs and apparently the TC way of doing things is precisely the way it's written in the standard. However, that still doesn't fix my problem except if I want to carry along my hacked version forever. Here's what I'm trying to achieve: I currently ha

Re: %3F Problem

2001-04-13 Thread Remy Maucherat
> On Fri, 13 Apr 2001, Klaus Sonnenleiter wrote: > > > Craig, > > > > I looked at HttpRequestImpl. Would it be safe to manipulate the URI in a > > call to setRequestURI before it sets the instance variable requestURI? It > > seems like this gets called the moment a request is made - this way, the

Re: %3F Problem

2001-04-13 Thread Klaus Sonnenleiter
Craig, since I'm not really familiar with what the standard says, I can't comment on that. But I can only tell you what I observed in other HTTP servers and it appears that most convert a %3F into a question mark some time before sending the request to the classloader or to the filter that loo

Re: %3F Problem

2001-04-13 Thread Craig R. McClanahan
On Fri, 13 Apr 2001, Klaus Sonnenleiter wrote: > Craig, > > I looked at HttpRequestImpl. Would it be safe to manipulate the URI in a > call to setRequestURI before it sets the instance variable requestURI? It > seems like this gets called the moment a request is made - this way, the > encod

Re: %3F Problem

2001-04-13 Thread Klaus Sonnenleiter
Craig, I looked at HttpRequestImpl. Would it be safe to manipulate the URI in a call to setRequestURI before it sets the instance variable requestURI? It seems like this gets called the moment a request is made - this way, the encoded characters could be transformed to their unencoded equivale

Re: %3F Problem

2001-04-13 Thread Craig R. McClanahan
On Fri, 13 Apr 2001, Klaus Sonnenleiter wrote: > Oops, I guess I should have mentioned that I'm using the 4.0 version. Do > you happen to know where the RequestImpl or equivalent class is in > catalina? (I checked org.apache.catalina.core.* without success). > The base class is org.apache.c

Re: %3F Problem

2001-04-13 Thread Klaus Sonnenleiter
>Jaselska 25 >611 57 Brno >Czech Republic >www.efcon.cz > > >- Original Message - >From: Klaus Sonnenleiter <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Friday, April 13, 2001 4:40 PM >Subject: %3F Problem > > > > This may be a bi

Re: %3F Problem

2001-04-13 Thread Jan Fnukal
w.efcon.cz - Original Message - From: Klaus Sonnenleiter <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, April 13, 2001 4:40 PM Subject: %3F Problem > This may be a bit obscure, but I'm trying to get Tomcat to respond to a > request that arrives with an encoded UR

%3F Problem

2001-04-13 Thread Klaus Sonnenleiter
This may be a bit obscure, but I'm trying to get Tomcat to respond to a request that arrives with an encoded URL in the form [URL]%3F[Parameters]. It looks like "http://myhost:myport/mycontext/servlet/myservlet%3Fx=y" If I do the equivalent with an Apache http server (for verifying that I'm try