* 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&egrave;re &lt;nextgens at freenetproject.org&gt;
> > + */
> > +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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20080731/321261de/attachment.pgp>

Reply via email to