X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=lib%2Fjetty%2Forg%2Feclipse%2Fjetty%2Fhttp%2FHttpURI.java;h=46a8a5bca2ec9c121e208e876c8e77c6eae52326;hb=0c07a64ca0c633fa1e4c867c4d5d12ef19ac23c2;hp=afe925e1ca8be0027babfa6bbdba3730ce24c8d3;hpb=ec24cf6925bb3729a644580ad4a9375d05883c62;p=gigi.git diff --git a/lib/jetty/org/eclipse/jetty/http/HttpURI.java b/lib/jetty/org/eclipse/jetty/http/HttpURI.java index afe925e1..46a8a5bc 100644 --- a/lib/jetty/org/eclipse/jetty/http/HttpURI.java +++ b/lib/jetty/org/eclipse/jetty/http/HttpURI.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2014 Mort Bay Consulting Pty. Ltd. +// Copyright (c) 1995-2016 Mort Bay Consulting Pty. Ltd. // ------------------------------------------------------------------------ // All rights reserved. This program and the accompanying materials // are made available under the terms of the Eclipse Public License v1.0 @@ -539,8 +539,6 @@ public class HttpURI { if (_host==_port) return null; - if (_raw[_host]=='[') - return new String(_raw,_host+1,_port-_host-2,_charset); return new String(_raw,_host,_port-_host,_charset); }