Uploaded image for project: 'HttpComponents HttpClient'
  1. HttpComponents HttpClient
  2. HTTPCLIENT-2009

org.apache.hc.client5.http.impl.AuthSupport#extractFromAuthority StringIndexOutOfBoundsException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 5.0 Beta5
    • 5.0 Beta6
    • HttpClient (classic)
    • None

    Description

      If  atColon = -1 then userinfo.substring(0, atColon)  will throw StringIndexOutOfBoundsException

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              itonyli LiTao
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h