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


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

Re: URLEncoder and #

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!news-out.readnews.com!news-xxxfer.readnews.com!novia!posts.news.sonic.net!nnrp1.nntp.sonic.net!not-for-mail
From Kevin McMurtrie <mcmurtrie@pixelmemory.us>
Newsgroups comp.lang.java.programmer
Subject Re: URLEncoder and #
References <t8n2q9phsbha7e25j4tj0e53sqa3qqt0g0@4ax.com>
User-Agent MT-NewsWatcher/3.5.3b3 (Intel Mac OS X)
Date Wed, 18 Jun 2014 18:50:20 -0700
Message-ID <mcmurtrie-088F16.18502018062014@news.sonic.net> (permalink)
Lines 17
Organization Sonic.Net
NNTP-Posting-Date 19 Jun 2014 01:50:21 GMT
NNTP-Posting-Host 22560eee.news.sonic.net
X-Trace DXC=YO66>fnb<CN@n_d6k[\8^@m4K\QM1CV^@1OYf0H`?;XAR3R8?Tm]HTO=i`3mDRBA_JAni8>YUM44O<c6[EAJYOkE
X-Complaints-To abuse@sonic.net
Xref csiph.com comp.lang.java.programmer:28779

Show key headers only | 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