[support] Do URL aliases have to be lower case?

Larry Garfield larry at garfieldtech.com
Sat May 5 20:32:19 UTC 2007


On Saturday 05 May 2007, Franz Iberl wrote:
> Jon Morgan schrieb:
> > Hi everyone,
> >
> > Do Drupal URL aliases have to be lower case?
> > example:
> >
> > node/32 => Repository/YOUTroubleShooting
> >
> > doesn't seem to work, but:
> >
> > node/32 => repository/youtroubleshooting
> >
> > workes. I'm using 4.7 with clean urls.
> > Thanks for any help...
> >
> > -jon
>
> UNIX-(Server)-Filesystems are case-sensitive, i.e. all of the path after
> the first '/' has to keep the case (Windows e.g. is not, hence some
> confusion I guess). Sometimes 'cheap' software does not care about it (e.g.
> is converting all to lower case) and fails.
>
> I am using all cases on two Drupal sites and no problem with URL aliases -
> as long as you *keep the case*.

Path aliases don't actually hit the disk, so Unix file semantics don't matter.  
The alias is looked up by string literal in a lookup table, so it is 
case-sensitive.  Upper-case aliases are fine, they're just case-sensitive.

-- 
Larry Garfield			AIM: LOLG42
larry at garfieldtech.com		ICQ: 6817012

"If nature has made any one thing less susceptible than all others of 
exclusive property, it is the action of the thinking power called an idea, 
which an individual may exclusively possess as long as he keeps it to 
himself; but the moment it is divulged, it forces itself into the possession 
of every one, and the receiver cannot dispossess himself of it."  -- Thomas 
Jefferson


More information about the support mailing list