On Thursday 31 July 2008 20:05, Florent Daigni?re wrote:
> * Matthew Toseland <toad at amphibian.dyndns.org> [2008-07-31 20:00:34]:
>
> > On Thursday 03 July 2008 04:56, nextgens at freenetproject.org wrote:
> > > Author: nextgens
> > > Date: 2008-07-03 03:56:01 +0000 (Thu, 03 Jul 2008)
> > > New Revision: 20947
> > >
> > > Added:
> > > trunk/freenet/test/freenet/clients/
> > > trunk/freenet/test/freenet/clients/http/
> > > trunk/freenet/test/freenet/clients/http/filter/
> > > trunk/freenet/test/freenet/clients/http/filter/ContentFilterTest.java
> > > Log:
> > > Commit a new unit test; it will attempt to prevent regressions on the
> > content filter
> > >
> > > Added:
trunk/freenet/test/freenet/clients/http/filter/ContentFilterTest.java
> > > ===================================================================
> > > ---
trunk/freenet/test/freenet/clients/http/filter/ContentFilterTest.java
> > (rev 0)
> > > +++
trunk/freenet/test/freenet/clients/http/filter/ContentFilterTest.java
> > 2008-07-03 03:56:01 UTC (rev 20947)
> > > @@ -0,0 +1,37 @@
> > > +/* This code is part of Freenet. It is distributed under the GNU
General
> > > + * Public License, version 2 (or at your option any later version). See
> > > + * http://www.gnu.org/ for further details of the GPL. */
> > > +package freenet.clients.http.filter;
> > > +
> > > +import freenet.support.api.BucketFactory;
> > > +import freenet.support.io.ArrayBucket;
> > > +import freenet.support.io.ArrayBucketFactory;
> > > +import java.net.URI;
> > > +import junit.framework.TestCase;
> > > +
> > > +/**
> > > + * A simple meta-test to track regressions of the content-filter
> > > + *
> > > + * @author Florent Daignière <nextgens at
> > > freenetproject.org>
> > > + */
> > > +public class ContentFilterTest extends TestCase {
> > > + // @see bug #710
> > > + private static final String ANCHOR_TEST = "<a href=\"#test\" />";
> > > + // @see bug #2451
> > > + private static final String POUNT_CHARACTER_ENCODING_TEST = "<a
> >
href=\"/CHK at
nvrrZF-qG7gInnxb2PUFNcNfgmdg2QHFQUsJGUzvUdE,nzsrkOSwJDP5lMod~kNDChDh96f1vIqGejOcMZpmIq0,AAEC--8/Ward
> > Churchill - [2001] In a Pig's Eye - CD 2 - 07 - #1 Security
Threat.ogg\" />";
> >
> > Are we confident that this URI refers to legal (that is to say,
> > non-copyright-infringing) content?
>
> It's the responsibility of the bug reporter (you in this case ;)) to
> check that.
Gah. It isn't. :< /me types it into google and gets endless sites trying to
sell me CDs of it ... Fixed (more or less) in r21548.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL:
<https://emu.freenetproject.org/pipermail/devl/attachments/20080731/28183b54/attachment.pgp>