Uploaded image for project: 'openATTIC'
  1. openATTIC
  2. OP-2998

RestClient class does not handle IPv6 addresses properly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.6.0
    • Fix Version/s: 3.6.2
    • Component/s: Backend
    • Labels:

      Description

      If you enter an IPv6 address as hostname in the oA settings page, the backend will not handle this correctly:

      self.base_url = 'http{}://{}:{}'.format('s' if ssl else '', host, port)
      

      The expected URL must look like https://[fd74:42ba:da3e:6bca::1]:8000

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vtheile Theile, Volker
                Reporter:
                vtheile Theile, Volker
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: