Path: csiph.com!aioe.org!.POSTED!not-for-mail From: =?UTF-8?Q?Arne_Vajh=c3=b8j?= Newsgroups: comp.lang.java.programmer Subject: Re: Disappearing API docs Date: Fri, 22 Jul 2016 13:30:16 -0400 Organization: Aioe.org NNTP Server Lines: 55 Message-ID: References: <1017aa77-c4fe-43f4-8195-4627cbc06e99@googlegroups.com> <4dvsobh2bbgkq66caohursk91t8bn9iuij@4ax.com> <27115dc3-85aa-4305-99bd-fdfdb28f390a@googlegroups.com> <859110c7-ef6c-421d-8d26-69020e21d094@googlegroups.com> NNTP-Posting-Host: 7SK6yTFfqwlIPNBLl3l7Qg.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 X-Notice: Filtered by postfilter v. 0.8.2 Xref: csiph.com comp.lang.java.programmer:35090 On 7/20/2016 1:39 PM, Eric Douglas wrote: > So you just assume no one will ever type in a url, and it's case will > never change otherwise all existing links will be broken. Of course > the domain can't be case sensitive or phishers would be signing up > for Yahoo.com, YAHOO.COM, etc. Why would you need the rest of it to > be case sensitive? Because path typical get mapped to file system that may be case sensitive. And because query typical get processed by some program that may be doing a case sensitive compare. > Do you have any examples of a url that gets 2 > valid pages with different case? In real life no. But you could easily create an example. You could even create it in Java using Tomcat. > Can you get 2 of the same email > address with different case? The part to the right of the @ is a host name and is not case sensitive. The part to the left of the @ is system specific and can be case sensitive. I think it is less common that it actually is. >>> Either it's rare for anyone to host a web site on a case >>> sensitive OS, or case sensitive OS normally use a flag that >>> changes all urls to lower case? >> >> I suspect the majority of the WWW is hosted on case-sensitive >> systems. The typical LAMP stack has case-sensitive filesystems, and >> Apache is case-sensitive by default. > > Majority? Where do you get that statistic? That the majority of web servers are using case sensitive file systems is easy to back up. https://en.wikipedia.org/wiki/Usage_share_of_operating_systems#Public_servers_on_the_Internet How many of those are configured for actual case sensitive URL's is a different question. But it must be a really big chunk since it is the default. Arne