Changeset 923c3d8


Ignore:
Timestamp:
Dec 26, 2010 6:45:13 PM (9 years ago)
Author:
sponge <sponge@…>
Branches:
master
Children:
965b2611
Parents:
925f9d0
Message:

Fix 302 redirect so that it encodes the URI path properly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/jetty/java/src/org/mortbay/http/handler/ResourceHandler.java

    r925f9d0 r923c3d8  
    297297                   
    298298                    String q=request.getQuery();
    299                     StringBuffer buf=request.getRequestURL();
     299                    StringBuffer buf = URI.encodePath(null, request.getRequestURL().toString());
    300300                    if (q!=null&&q.length()!=0)
    301301                    {
Note: See TracChangeset for help on using the changeset viewer.