DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30713>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30713

empty <base> tag resets base (shouldn't)

           Summary: empty <base> tag resets base (shouldn't)
           Product: JMeter
           Version: 2.0.1
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: HTTP
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


A <base> tag without an href= is currently reseting the baseUrl within 
HTMLParserHTMLParser - and it shouldn't.  The fix is:

        String baseref = baseHref.getBaseUrl().toString();
        // don't do this replacement if there's no href in the tag!
        if(!baseref.equals(""))
               baseUrl= new URL(baseUrl, baseHref.getBaseUrl()+"/");

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

Reply via email to