You are viewing a plain text version of this content. The canonical link for it is here.
Posted to droids-dev@incubator.apache.org by "Richard Frovarp (JIRA)" <ji...@apache.org> on 2010/03/01 21:20:05 UTC

[jira] Commented: (DROIDS-83) LinkExtractor doesn't handle spaces in URI

    [ https://issues.apache.org/jira/browse/DROIDS-83?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12839862#action_12839862 ] 

Richard Frovarp commented on DROIDS-83:
---------------------------------------

It also doesn't handle apostrophes. 

It also fails on <a href="#">. I don't expect this to work, but getting it so that it doesn't error would be nice.

> LinkExtractor doesn't handle spaces in URI
> ------------------------------------------
>
>                 Key: DROIDS-83
>                 URL: https://issues.apache.org/jira/browse/DROIDS-83
>             Project: Droids
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.01
>            Reporter: Richard Frovarp
>         Attachments: link-whitespace-fix.patch
>
>
> Links with spaces aren't properly handled by the LinkExtractor. java.net.URI expects valid URI's, and spaces aren't allowed. Therefore, before resolving links, the URI's need to be cleaned up to what browsers can handle. This at least includes handling space.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.