qualysapi icon indicating copy to clipboard operation
qualysapi copied to clipboard

Verification on https protocol when computing the base url of an api call

Open patacoing opened this issue 6 months ago • 0 comments

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.

patacoing avatar Aug 22 '24 11:08 patacoing