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

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

That certainly is an idea. It's not the constructor throwing errors, it is 
resolve(String). There is a resolve(URI) where this idea may work. I'm not 
familiar enough with URIs to be able to write a regex to handle relative URIs, 
absolute URIs and odd URI's such as mailto.

> 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.

Reply via email to