Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: markspace Newsgroups: comp.lang.java.programmer Subject: Re: [LONG] java.net.URI encoding weirdness Date: Mon, 05 May 2014 16:51:29 -0700 Organization: A noiseless patient Spider Lines: 17 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Mon, 5 May 2014 23:51:30 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="9358cda03e1e0dfd3c4b757daa608707"; logging-data="13957"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+IWqVMYUM13psjv16qXF57vhr38irLJdQ=" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 In-Reply-To: Cancel-Lock: sha1:A018O6GpZ2ZVjK5wqmkRs87n588= Xref: csiph.com comp.lang.java.programmer:28384 On 5/5/2014 1:59 PM, Stanimir Stamenkov wrote: > Mon, 05 May 2014 11:58:29 -0700, /markspace/: >> *cough* java.net.UrlDecoder. > > I don't really get if it is meant as a solution, but have you noticed > the URI constructors produce wrong (at least unexpected) results with > encoded and decoded values? > I did not notice that, no. All of your ctors had encoded values. None were unencoded. I haven't researched this fully, but a quick test indicated it does work.