-
Notifications
You must be signed in to change notification settings - Fork 103
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
hostnames not included in site_config #8
Comments
Do you have a code example you were using to reproduce this? Something small and concise if possible. |
Ok, fixing the issue, will update the gem. |
Fix pushed, gem updated and pushed as well. |
Thanks, is there a reason you did not incorporate the processing of Regards On Tue, May 8, 2012 at 4:31 PM, bperry-r7
Michael D. Milbrath |
Looks like only host/ranges and not host/hosts are included in the site configuration. When making changes and saving back to the instance, any configured host elements are lost. Also the host element appears to have changed from 'hostname' to just 'host' as least on Community version 5.2.3
diff --git a/lib/nexpose/site.rb b/lib/nexpose/site.rb
index 5d87686..3d8e129 100644
--- a/lib/nexpose/site.rb
+++ b/lib/nexpose/site.rb
@@ -502,6 +502,9 @@ module Nexpose
s.elements.each('Hosts/range') do |r|
@hosts.push(IPRange.new(r.attributes['from'], r.attributes['to']))
end
@@ -848,7 +851,7 @@ module Nexpose
include Sanitize
end
The text was updated successfully, but these errors were encountered: