Skip to content

Fix a 500 error in the SSH host keys lookup action

What does this MR do?

Catches an Addressable::URI exception raised when parsing the URL passed to the ssh_host_keys action, allowing the user to get a 400, rather than 500, response.

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

500 errors are bad

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #3312 (closed)

Edited by Nick Thomas

Merge request reports

Loading