Actions
Bug #14198
closedremote_addr validation is too strict for a regular expression
Description
#6924 validates the remote_addr setting to permit only a list of pipe-separated IP addresses. It's actually a regular expression according to our docs (http://theforeman.org/manuals/1.10/index.html#3.5.2ConfigurationOptions):
remote_addr If Foreman is running behind Passenger or a remote load balancer, the IP of this load balance should be set here. This is a regular expression, so it can support several load balancers, i.e: (10.0.0.1|127.0.0.1) Default: 127.0.0.1
Although the example is a simple regexp with two IPs and the or expression, regexes can be far more complex. It might be used to permit a whole subnet (e.g. ^10.0.0.\d+$
).
Updated by Dominic Cleal almost 9 years ago
- Related to Bug #6924: UI should throw proper validation error while updating some params with any random value(like utf-8 or -ve values) added
Updated by The Foreman Bot almost 9 years ago
- Status changed from New to Ready For Testing
- Assignee set to Ondřej Pražák
- Pull request https://github.com/theforeman/foreman/pull/3329 added
Updated by Ondřej Pražák over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 27def3d68207949ed0a7d43c8b578c1a6c1c5d24.
Actions