Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:16.0:Staging:C
python-bugzilla
188-fix-api-key-leak.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 188-fix-api-key-leak.diff of Package python-bugzilla
--- a/bugzilla/_session.py 2021-10-05 22:49:16.000000000 +0200 +++ b/bugzilla/_session.py 2023-09-25 17:22:39.763856790 +0200 @@ -97,14 +97,14 @@ if "timeout" not in kwargs: kwargs["timeout"] = timeout - response = self._session.request(*args, **kwargs) + try: + response = self._session.request(*args, **kwargs) - if self._is_xmlrpc: - # Yes this still appears to matter for properly decoding unicode - # code points in bugzilla.redhat.com content - response.encoding = "UTF-8" + if self._is_xmlrpc: + # Yes this still appears to matter for properly decoding unicode + # code points in bugzilla.redhat.com content + response.encoding = "UTF-8" - try: response.raise_for_status() except Exception as e: # Scrape the api key out of the returned exception string
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor