https sometimes required to access fossology server
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
getlicenses |
Fix Released
|
High
|
Kyle Nitzsche |
Bug Description
For non valid dep5 copyrights, a fossology server is used to report on found licenses. The fossology server is accessed in the code with wget, for example, like this:
$ wget -qO - --post-file /usr/share/
GPL_v2
Some URLs require https access and therefore it fails and returns an xhtml web page, like this:
$ wget -qO - --post-file /usr/share/
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "xhtml1-
<html>
<head>
...
If this happens it represents execution a failure.
The code should try to do the right thing.
Short term fix is add an arg to use https.
Better is to try both and use the right one with no user interaction required.
released with 1.19