Nick Kew | 1 Mar 2006 09:27

Re: Case insensitive username in htaccess.

On Wednesday 01 March 2006 07:45, Jesper Krogh wrote:

> > Hmmm.  Don't you get that behaviour if you use a case-insensitive
> > filesystem?
>
> No. That would give me flexibillity in the names of the files
> containing the user-list, not the
> usernames.

It's a fair cop - I misread your question.  It seems you found
your own answer anyway:-)

Actually your patch looks puzzling: you're introducing a new variable
but not using it.  Why not just fold r->user?

--

-- 
Nick Kew

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe <at> httpd.apache.org
   "   from the digest: users-digest-unsubscribe <at> httpd.apache.org
For additional commands, e-mail: users-help <at> httpd.apache.org

Jesper Krogh | 1 Mar 2006 10:05
Picon

Re: Case insensitive username in htaccess.

On 3/1/06, Nick Kew <nick <at> webthing.com> wrote:
> On Wednesday 01 March 2006 07:45, Jesper Krogh wrote:
> > > Hmmm.  Don't you get that behaviour if you use a case-insensitive
> > > filesystem?
> >
> > No. That would give me flexibillity in the names of the files
> > containing the user-list, not the
> > usernames.
>
> It's a fair cop - I misread your question.  It seems you found
> your own answer anyway:-)
>
> Actually your patch looks puzzling: you're introducing a new variable
> but not using it.  Why not just fold r->user?

"fold"? ..

I belive that r->user is a char * if I modify that directly with
r->user++ the the next
user of the string would start at the end position.

Well..  I'm usually coding Perl, so this is very far from what I
usually do so I might
be very wrong. :-/

--
Jesper

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
(Continue reading)

Nick Kew | 1 Mar 2006 10:53

Re: Case insensitive username in htaccess.

On Wednesday 01 March 2006 09:05, Jesper Krogh wrote:

> "fold"? ..

Bah.  That's exactly what you do in your patch.
/me needs to wake up.

--

-- 
Nick Kew

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe <at> httpd.apache.org
   "   from the digest: users-digest-unsubscribe <at> httpd.apache.org
For additional commands, e-mail: users-help <at> httpd.apache.org


Gmane