Project

General

Profile

Actions

Bug #29440

open

Settings -> "proxy except hosts"-array editing changes format after reloading

Added by Jonas Trüstedt about 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

If I use Foreman/Katello behind a HTTP-Proxy and need to configure the noproxy-settings, there is an array found under Administer -> Settings -> General -> HTTP proxy except hosts
This can be an empty array like [ ]

If I want to specify an array including IPv6 or using wildcards, I get an array like [ localhost, 127.0.0.1, "[:::1]", "*.example.com" ]
Please note that I cannot specify the wildcard or IPv6 without using " " or ' ' around it, otherwise I get error messages during the save-process.

After I save the array it is shown correctly - however after reloading the page it gets transformed into [ localhost, 127.0.0.1, [:::1], *.example.com ] but it still seems to work. When I now want to edit the setting again to add or change something I have to apply the " " or ' ' around every setting for IPv6 or wildcard again to be able to save the changes.

This might be a minor issue, but maintaining infrastructures with several smartproxies and other components, that have to be excluded here, you don't want to adapt every subject in this array.

This issue exists since many releases and is still found in Foreman 1.24.2

No data to display

Actions

Also available in: Atom PDF