* Matthew Toseland <[EMAIL PROTECTED]> [2008-07-31 20:00:34]:

> On Thursday 03 July 2008 04:56, [EMAIL PROTECTED] 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;[EMAIL PROTECTED]&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=\"/[EMAIL 
> PROTECTED],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.

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Devl mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to