On Tue, 2008-09-09 at 19:59 -0400, Ryan McKinley wrote:
> Existing code does not handle <a href="/path"> well.  I think the  
> change just needs to be:
> 
> Index: src/core/java/org/apache/droids/parse/html/HtmlParser.java
> ===================================================================
> --- src/core/java/org/apache/droids/parse/html/HtmlParser.java         
> (revision 693630)
> +++ src/core/java/org/apache/droids/parse/html/HtmlParser.java         
> (working copy)
> @@ -155,6 +155,7 @@
>                   if(base.getPort()>-1){
>                     newUrl+=":"+base.getPort();
>                   }
> +                newUrl += target;
>                 }else if(! 
> target.toLowerCase().startsWith("javascript")){
>                   newUrl=new URL(base, target).toString();
>                 }

Yeah, you are right. Thanks for spotting, please go ahead and submit
your change.

TIA

salu2
-- 
Thorsten Scherler                                 thorsten.at.apache.org
Open Source Java                      consulting, training and solutions


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to