qualysapi
qualysapi copied to clipboard
Verification on https protocol when computing the base url of an api call
A lot of people make mistakes when providing the "server" parameter when creating a QGConnector by giving the protocol within the parameter resulting a malformed URL.
We added a verification to ensure that the protocol is not put twice in the computed URL. We also refactored the function to use a dict instead of a list of if statements.