[TYPO3] realurl sometimes case insensitive

Loek Hilgersom hilgersom at xs4all.nl
Wed Jul 25 23:44:23 CEST 2007

Hi all,

Some strange behaviour I found: servers where Url's are case sensitive become 
case insensitive in the front-end as soon as you log in to the back-end.... bug, 
feature, design, coincidence? Not a big deal, but a bit strange.

Anyway, for whoever might want to know, I checked a few related things:

After some testing I discovered that Url's using realurl are case insensitive on 
some linux servers, and case sensitive on others - I checked 4 servers all 
running 4.1.1 with RealUrl 1.1.4. This of course is could be caused by different 
server configurations, but I find it strange because nothing is explicitly 
installed to deal with type cases.

I couldn't find much info on 'realurl and case' except the old posting below.

I needed case insensitivity because of an XSLT application that generates Url's 
based on input from a product database. Those products often start with a 
capital, and the PHP-XSLT processor doesn't support converting to lowercase yet 
(XSLT 1.0).

While my tests showed that the application worked perfectly fine regardless of 
case differences, my client saw a less flattering result....

I resolved it now by changing line 680 in class.tx_realurl.php (v1.1.4):

	$speakingURIpath = $this->pObj->siteScript;


	$speakingURIpath = strtolower ($this->pObj->siteScript);


Subject: Re: [TYPO3] make realurl case insensitive?
Date: 27-9-2006 23:28

Dmitry Dulepov wrote:
 > Hi!
 > Bing Du wrote:
 >> The url http://www.site.edu/home works fine but
 >> http://www.site.edu/Home does not (page not found).  Possible to make
 >> realurl case insensitive?
 > You need to modify source code yourself. However it will not be part of
 > any official release.

More information about the TYPO3-english mailing list