On 11/08/2011 11:53, Tim Funk wrote:
> It may be overkill ... but should "absolute" be XML escaped?

I don't think so. It is meant to be a valid, encoded URL. It it isn't,
it will cause problems in the location header too.

Mark

> 
> -Tim
> 
> 
> On Thu, Aug 11, 2011 at 4:13 AM, <ma...@apache.org> wrote:
> 
>> Modified: tomcat/trunk/java/org/apache/catalina/connector/Response.java
>> URL:
>> http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/connector/Response.java?rev=1156530&r1=1156529&r2=1156530&view=diff
>>
>> ==============================================================================
>> +            PrintWriter writer = getWriter();
>> +            writer.print(
>> +                    sm.getString("coyoteResponse.sendRedirect.note",
>> absolute));
>> +            flushBuffer();
>>         } catch (IllegalArgumentException e) {
>>             setStatus(SC_NOT_FOUND);
>>         }
>>
>>
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to