Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #28779

Re: URLEncoder and #

From Kevin McMurtrie <mcmurtrie@pixelmemory.us>
Newsgroups comp.lang.java.programmer
Subject Re: URLEncoder and #
References <t8n2q9phsbha7e25j4tj0e53sqa3qqt0g0@4ax.com>
Date 2014-06-18 18:50 -0700
Message-ID <mcmurtrie-088F16.18502018062014@news.sonic.net> (permalink)
Organization Sonic.Net

Show all headers | View raw


In article <t8n2q9phsbha7e25j4tj0e53sqa3qqt0g0@4ax.com>,
 Roedy Green <see_website@mindprod.com.invalid> wrote:

> It seems URLEncoder converts # to %23
> 
> Why would there be any need to encode it?
> 
> The AppVisor people are complaining about URLs containing # saying
> they need to be URLEncoded.  Surely that is not true.

Like '/', it has different meanings in different parts of the URL.

There is no way to encode a simple string into a full URL.  That's why 
there are tools to build URLs.

Try finding a server that handles an encoded '/' in a path correctly.  
That incorrect handling breaks many kinds of REST APIs.

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

URLEncoder and # Roedy Green <see_website@mindprod.com.invalid> - 2014-06-18 02:37 -0700
  Re: URLEncoder and # Nigel Wade <nmw@ion.le.ac.uk> - 2014-06-18 11:30 +0100
    Re: URLEncoder and # Roedy Green <see_website@mindprod.com.invalid> - 2014-06-20 08:06 -0700
      Re: URLEncoder and # markspace <markspace@nospam.nospam> - 2014-06-20 08:22 -0700
        Re: URLEncoder and # Arne Vajhøj <arne@vajhoej.dk> - 2014-06-21 23:10 -0400
  Re: URLEncoder and # Joerg Meier <joergmmeier@arcor.de> - 2014-06-18 16:42 +0200
  Re: URLEncoder and # Kevin McMurtrie <mcmurtrie@pixelmemory.us> - 2014-06-18 18:50 -0700

csiph-web