[Bug 1849004] Re: update-manager stop to load update descriptions

Discaz drsphoto at free.fr
Thu Oct 24 10:29:19 UTC 2019


I thing there is a bug in MyCache.py :

`if res.scheme == "https" and res.username != "":`

The value of `res.username` is `None` when it is not set, not the empty
string.

Code from UpdateManager/Core/MyCache.py :

```
    def _get_changelog_or_news(self, name, fname, strict_versioning=False,
                               changelogs_uri=None):
        " helper that fetches the file in question "
    ...
        # https uris are not supported when they contain a username/password
        # because the urllib2 https implementation will not check certificates
        # and so its possible to do a man-in-the-middle attack to steal the
        # credentials
        res = urlsplit(uri)
        if res.scheme == "https" and res.username != "":
            raise HttpsChangelogsUnsupportedError(
                "https locations with username/password are not"
                "supported to fetch changelogs")
```

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

Title:
  update-manager stop to load update descriptions

Status in update-manager package in Ubuntu:
  Confirmed

Bug description:
  Some time ago (~1-2 weeks) I notice, that update-manager no longer
  load description of updates. Message "Загрузка списка изменений..."
  (Russian message, do not know how it looks in English) never
  disappears. See screenshot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1849004/+subscriptions



More information about the foundations-bugs mailing list