strangely after the release?
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3138 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
parent
f8dc394adb
commit
ee7333baf7
|
@ -1,4 +1,4 @@
|
||||||
jetty-7.4.1.v20110512
|
jetty-7.4.1.v20110513
|
||||||
+ 288563 remove unsupported and deprecated --secure option
|
+ 288563 remove unsupported and deprecated --secure option
|
||||||
+ 332907 Add context property to ObjectName of JMX MBeans
|
+ 332907 Add context property to ObjectName of JMX MBeans
|
||||||
+ 336056 Ability to override the computation of the ContextHandler to deploy the DefaultServlet on the HttpService
|
+ 336056 Ability to override the computation of the ContextHandler to deploy the DefaultServlet on the HttpService
|
||||||
|
|
|
@ -739,7 +739,7 @@ public class SslSelectChannelEndPoint extends SelectChannelEndPoint
|
||||||
}
|
}
|
||||||
catch(SSLException e)
|
catch(SSLException e)
|
||||||
{
|
{
|
||||||
Log.warn(this+" "+e);
|
Log.warn(getRemoteAddr()+":"+getRemotePort()+" "+e);
|
||||||
super.close();
|
super.close();
|
||||||
throw e;
|
throw e;
|
||||||
}
|
}
|
||||||
|
@ -832,7 +832,7 @@ public class SslSelectChannelEndPoint extends SelectChannelEndPoint
|
||||||
}
|
}
|
||||||
catch(SSLException e)
|
catch(SSLException e)
|
||||||
{
|
{
|
||||||
Log.warn(this+" "+e);
|
Log.warn(getRemoteAddr()+":"+getRemotePort()+" "+e);
|
||||||
super.close();
|
super.close();
|
||||||
throw e;
|
throw e;
|
||||||
}
|
}
|
||||||
|
@ -913,7 +913,7 @@ public class SslSelectChannelEndPoint extends SelectChannelEndPoint
|
||||||
}
|
}
|
||||||
catch(SSLException e)
|
catch(SSLException e)
|
||||||
{
|
{
|
||||||
Log.warn(this+" "+e);
|
Log.warn(getRemoteAddr()+":"+getRemotePort()+" "+e);
|
||||||
super.close();
|
super.close();
|
||||||
throw e;
|
throw e;
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,13 +20,16 @@ import static org.junit.Assert.fail;
|
||||||
|
|
||||||
import java.io.UnsupportedEncodingException;
|
import java.io.UnsupportedEncodingException;
|
||||||
import java.net.URLDecoder;
|
import java.net.URLDecoder;
|
||||||
|
import java.net.URLEncoder;
|
||||||
|
|
||||||
import junit.framework.Assert;
|
import junit.framework.Assert;
|
||||||
|
|
||||||
import org.eclipse.jetty.http.HttpURI;
|
import org.eclipse.jetty.http.HttpURI;
|
||||||
import org.eclipse.jetty.io.ByteArrayBuffer;
|
import org.eclipse.jetty.io.ByteArrayBuffer;
|
||||||
import org.eclipse.jetty.util.MultiMap;
|
import org.eclipse.jetty.util.MultiMap;
|
||||||
|
import org.eclipse.jetty.util.URIUtil;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
import org.omg.Dynamic.Parameter;
|
||||||
|
|
||||||
public class HttpURITest
|
public class HttpURITest
|
||||||
{
|
{
|
||||||
|
@ -235,6 +238,19 @@ public class HttpURITest
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void testExtB() throws Exception
|
||||||
|
{
|
||||||
|
for (String value: new String[]{"a","abcdABCD","\u00C0","\u697C","\uD869\uDED5","\uD840\uDC08"} )
|
||||||
|
{
|
||||||
|
HttpURI uri = new HttpURI("/path?value="+URLEncoder.encode(value,"UTF-8"));
|
||||||
|
|
||||||
|
MultiMap<String> parameters = new MultiMap<String>();
|
||||||
|
uri.decodeQueryTo(parameters,"UTF-8");
|
||||||
|
assertEquals(value,parameters.get("value"));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
private final String[][] connect_tests=
|
private final String[][] connect_tests=
|
||||||
|
|
Loading…
Reference in New Issue