Uploaded image for project: 'HttpComponents HttpCore'
  1. HttpComponents HttpCore
  2. HTTPCORE-723

HTTPcore 5.1.4 URIBuilder is setting HOST to NULL but no exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 5.1.4
    • None
    • HttpCore
    • None

    Description

      Executing the testcase with Hostname with spaces it use to throw the expception URISyntaxException with version core 5.0.2.

      Now the same test case is not throwing the exception with version 5.1.4 of core as well as it's keeping the value of HOST to NULL.

      In  core 5.1.4 serverChars  value return is "TRUE" earlier it used to be FASLE.

        // contains a literal IPv6 address, therefore % is allowed
                      serverChars = (scan(p, n, L_SERVER_PERCENT, H_SERVER_PERCENT) == n);

      That the difference I see.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            haroonrawat haroon rawat
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: