Bug 146106 - Loading graphic with XGraphicProvider::queryGraphic from https: CRL validation does not use proxy setting
Summary: Loading graphic with XGraphicProvider::queryGraphic from https: CRL validatio...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
7.1.6.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-07 20:09 UTC by pierre.sauter
Modified: 2022-12-04 03:52 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pierre.sauter 2021-12-07 20:09:24 UTC
Description:
When loading an image from a https URL, the CRL check tries to connect to crl.root-x1.letsencrypt.org.edgekey.net directly instead of going through the configured proxy, resulting in a timeout.

Steps to Reproduce:
1. Be behind a http proxy and configure it in Libreoffice
2. Load an image from a https URL with XGraphicProvider::queryGraphic

Actual Results:
CRL check of the https certificate is tried directly resulting in a timeout

Expected Results:
CRL should be loaded via the http proxy


Reproducible: Always


User Profile Reset: No



Additional Info:
The CRL check seems to have been introduced sometime around 7.0. We recently upgraded from 6.4.7-0ubuntu0.20.04.1 to 7.1.7-0ubuntu0.21.04.1~bpo20.04.1 when that version landed in Ubuntu 20.04 backports. Before that it was working as expected. Also changing the URL to http resolves the issue in 7.1.7
Comment 1 sockseight 2022-12-03 06:16:33 UTC
There seems to be some issue in setting the Proxy configurations. 

While they may be better addressed as a separate bug, this issue warrants to be investigated further.
Comment 2 sockseight 2022-12-03 07:02:29 UTC
the above comment was due to this bug -> https://bugs.documentfoundation.org/show_bug.cgi?id=33697