[AWS] Possible regex regression in commit 00b1e15793d6f29b3a9c7ab3e2c8a3b33a0d079c
Pascal Obry
pascal at obry.net
Wed Aug 24 16:51:23 CEST 2011
Thomas,
> Prior to 00b1e15793d6f29b3a9c7ab3e2c8a3b33a0d079c the regex
>
> \.css$
>
> matched the string /css/index.css just fine, but when using AWS with
> the mentioned commit,
Right.
> I now have to do
>
> .*\.css$
>
> to match /css/index.css
Right too.
> Is this behavior intentional, or?
Yes.
> As far as I know \.css$ is a
> perfectly valid way of matching all strings that end with .css
Again right, but the original implementation was matching start of the
URI. In the context of AWS it make lot of sense I would say. The commit
00b1e1 was really to fix a regression introduced before that (IIRC the
regression was in d0e9cb).
Pascal.
--
--|------------------------------------------------------
--| Pascal Obry Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--| http://www.obry.net - http://v2p.fr.eu.org
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver keys.gnupg.net --recv-key F949BD3B
More information about the AWS
mailing list