W3C home > Mailing lists > Public > www-jigsaw@w3.org > September to October 2002

Re: URL Filtering

From: Yves Lafon <ylafon@w3.org>
Date: Wed, 18 Sep 2002 11:07:47 +0200 (MET DST)
To: Lilian Lisanti <lilian@free.fr>
cc: www-jigsaw@w3.org
Message-ID: <Pine.GSO.4.44.0209181105110.23472-100000@tarantula.inria.fr>

On Tue, 17 Sep 2002, Lilian Lisanti wrote:

> Is it possible to do URL Filtering ? How can I drop the following URL ?
> "http://www.myhost.com/../../" ?

URL filtering is possible, you can use something like the
RegexRedirectFilter (org.w3c.jigsaw.filters.RegexRedirectFilter)
that takes a regular expression and where to redirect it (like a sed
command on the URI).
However http://www.myhost.com/../../ will be resolved as being
http://www.myhost.com/ by the server.

Yves Lafon - W3C
"Baroula que barouleras, au tiéu toujou t'entourneras."
Received on Wednesday, 18 September 2002 05:07:52 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:38 UTC