Both should be fixed in 567. I haven't enabled support for mailto: urls,
need to check the schema and determine how to safely reconstruct them,
what their params are, and whether there is any danger whatsoever.

Likewise, external links of any other kind at present are just deleted.
We don't have /__CHECKED_HTTP_ yet in 0.7.

But the NPE should be gone now. And the charset error too.

On Fri, Mar 24, 2006 at 01:25:51AM +0100, David 'Bombe' Roden wrote:
> Hi.
> 
> Here are some errors I encountered.
> 
> 1) NPE in freenet.clients.http.filter.GenericReadFilterCallback:30 when 
> parsing links to local anchors (<a href="#top">) or email addresses (<a 
> href="mailto:...";>).
> 
> This obviously breaks quite some HTML pages.
> 
> 2) java.lang.Error: java.io.UnsupportedEncodingException: UTF-32
>       at 
> freenet.clients.http.filter.CSSReadFilter.getCharset(CSSReadFilter.java:70)
>       at 
> freenet.clients.http.filter.ContentFilter.detectCharset(ContentFilter.java:195)
>       at 
> freenet.clients.http.filter.ContentFilter.filter(ContentFilter.java:147)
>       at freenet.clients.http.FproxyToadlet.handleGet(FproxyToadlet.java:132)
> Caused by: java.io.UnsupportedEncodingException: UTF-32
>       at ...
>       at java.io.InputStreamReader.(InputStreamReader.java:83)
>       at 
> freenet.clients.http.filter.CSSReadFilter.getCharset(CSSReadFilter.java:68)
> 
> This breaks CSS (unless your JRE supports UTF-32 which 1.5.0_06 does not :).
> 
> All errors have been reported by fproxy with a big fat "please report" on 
> top. :)
> 
> 
>       David



> _______________________________________________
> Devl mailing list
> Devl at freenetproject.org
> http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl

-- 
Matthew J Toseland - toad at amphibian.dyndns.org
Freenet Project Official Codemonkey - http://freenetproject.org/
ICTHUS - Nothing is impossible. Our Boss says so.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20060324/a200ce33/attachment.pgp>

Reply via email to