Public bug reported:

The bug fixed by the following pull request is also present in lexicon 
v2.2.1-2, and the fix should be backported.
https://github.com/AnalogJ/lexicon/pull/389/files?file-filters%5B%5D=.py

This causes requests to the DNSimple.com API for DNS record creation to
fail because the generated URL is ill-formed.

Line 64 of is 
        payload = self._post('{0}/zones/{1}/records'.format(self.account_id, 
self.options.get('domain')), record)
but should be
        payload = self._post('/{0}/zones/{1}/records'.format(self.account_id, 
self.options.get('domain')), record)

$ lsb_release -rd
Description:    Ubuntu 18.04.2 LTS
Release:        18.04

$ apt-cache policy lexicon
lexicon:
  Installed: (none)
  Candidate: 2.2.1-2
  Version table:
     2.2.1-2 500
        500 http://mirror.rackspace.com/ubuntu bionic/universe amd64 Packages
        500 http://mirror.rackspace.com/ubuntu bionic/universe i386 Packages
        500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
        500 http://archive.ubuntu.com/ubuntu bionic/universe i386 Packages

** Affects: lexicon (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1825049

Title:
  dnsimple adapter produces invalid URL in create_record

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lexicon/+bug/1825049/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to