Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes #1899 require HTTPS URL for oVirt API, now HTTPS-only #265

Closed
wants to merge 1 commit into from

Conversation

domcleal
Copy link
Contributor

Replaces GH-245

@@ -2,6 +2,7 @@ module Foreman::Model
class Ovirt < ComputeResource

validates_format_of :url, :with => URI.regexp
validates_format_of :url, :with => /\Ahttps:/, :message => "must be HTTPS"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm.. does it replace or add to the line above it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It adds to it, I checked and the validations are independent.

@ohadlevy
Copy link
Member

merged - thanks @domcleal

@ohadlevy ohadlevy closed this Nov 28, 2012
LiorKGOW pushed a commit to LiorKGOW/foreman that referenced this pull request Oct 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants