Re: Word boundaries in regexps (Apache bug?)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2009-09-15 at 15:05 +0200, Torsten Foertsch wrote: 
> On Tue 15 Sep 2009, Victor Porton wrote:
> > > <!--#if expr="$QUERY_STRING = /(^|\b)city(\b|$)/" -->
> >
> > After this change the test 2 passes, but it does not pass if I enter
> > http://localhost/test2.shtml?city=2
> 
> Perhaps you have to outwit the SSI string parser. Just a guess:
> 
>   <!--#if expr="$QUERY_STRING = /\\bcity\\b/" -->

/\\bcity\\b/ works on my localhost (Debian Linux with Apache 2.2.13-1),
but does not work on http://logostudio.co.il/test.html?city with Apache
1.3.41 (FreeBSD).

-- 
Victor Porton - http://portonvictor.org


---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux