* Matthew Toseland <[EMAIL PROTECTED]> [2006-05-22 14:51:46]: > Ummm... do you know for a fact that the page being sent is in UTF-8? > There is a bug filed for this. >
I know, well, if it's not already, it ought to be ;)
> On Sun, May 21, 2006 at 01:43:00PM +0000, [EMAIL PROTECTED] wrote:
> > Author: nextgens
> > Date: 2006-05-21 13:42:57 +0000 (Sun, 21 May 2006)
> > New Revision: 8818
> >
> > Modified:
> >
> > trunk/freenet/src/freenet/clients/http/filter/GenericReadFilterCallback.java
> > Log:
> > 13:33 < Zothar> nextgens: side note while I have you here, perhaps you know
> > something about
> > this?: clients/http/filter/GenericReadFilterCallback.java
> > uses or overrides a
> > deprecated API.
> >
> > Modified:
> > trunk/freenet/src/freenet/clients/http/filter/GenericReadFilterCallback.java
> > ===================================================================
> > ---
> > trunk/freenet/src/freenet/clients/http/filter/GenericReadFilterCallback.java
> > 2006-05-21 13:29:03 UTC (rev 8817)
> > +++
> > trunk/freenet/src/freenet/clients/http/filter/GenericReadFilterCallback.java
> > 2006-05-21 13:42:57 UTC (rev 8818)
> > @@ -1,6 +1,7 @@
> > package freenet.clients.http.filter;
> >
> > import java.net.MalformedURLException;
> > +import java.io.UnsupportedEncodingException;
> > import java.net.URI;
> > import java.net.URISyntaxException;
> > import java.net.URLEncoder;
> > @@ -127,9 +128,13 @@
> > String p = path;
> > if(typeOverride != null)
> > p += "?type="+typeOverride;
> > - if(u.getFragment() != null)
> > + if(u.getFragment() != null){
> > + try{
> > // FIXME encode it properly
> > - p += URLEncoder.encode(u.getFragment());
> > + p +=
> > URLEncoder.encode(u.getFragment(),"UTF-8");
> > + }catch (UnsupportedEncodingException e1){
> > + }
> > + }
> > return null;
> > }
> > }
> >
> > _______________________________________________
> > cvs mailing list
> > [email protected]
> > http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs
> >
>
> --
> Matthew J Toseland - [EMAIL PROTECTED]
> Freenet Project Official Codemonkey - http://freenetproject.org/
> ICTHUS - Nothing is impossible. Our Boss says so.
> _______________________________________________
> Devl mailing list
> [email protected]
> http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
signature.asc
Description: Digital signature
_______________________________________________ Devl mailing list [email protected] http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
