We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38598df commit a5d679bCopy full SHA for a5d679b
cve_bin_tool/output_engine/pdfbuilder.py
@@ -3,6 +3,7 @@
3
4
from datetime import datetime
5
6
+from reportlab import rl_config
7
from reportlab.graphics.shapes import Drawing, Rect, String
8
from reportlab.lib import colors
9
from reportlab.lib.styles import ParagraphStyle as PS
@@ -169,6 +170,9 @@ def __init__(self, includeTOC=True):
169
170
self.table_data = []
171
self.note_data = []
172
self.table_validation = None
173
+ # Set default configuration parameters
174
+ rl_config.trustedHosts = ["localhost", "127.0.0.1"]
175
+ rl_config.trustedSchemes = ["http", "https"]
176
177
def _spacer(self):
178
self.contents.append(self.spacer)
0 commit comments