summaryrefslogtreecommitdiffstats
path: root/roles/openshift_metrics/defaults
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2017-11-01 08:39:18 -0700
committerGitHub <noreply@github.com>2017-11-01 08:39:18 -0700
commit6793bb84ac9d9f9ad7231d9188f886b1afc47754 (patch)
tree1158956de189aa550a3cb44eae6621b7dc2a164b /roles/openshift_metrics/defaults
parentb4521f75238f6c4273b57bbfad07c3404741e210 (diff)
parent8480ab43c99ede8bad9dc8ea27f676dc2d6af446 (diff)
downloadopenshift-6793bb84ac9d9f9ad7231d9188f886b1afc47754.tar.gz
openshift-6793bb84ac9d9f9ad7231d9188f886b1afc47754.tar.bz2
openshift-6793bb84ac9d9f9ad7231d9188f886b1afc47754.tar.xz
openshift-6793bb84ac9d9f9ad7231d9188f886b1afc47754.zip
Merge pull request #5264 from AlexanderZagaynov/cors_escape
Automatic merge from submit-queue. escape corsAllowedOrigins regexp strings and anchor them `corsAllowedOrigins` parameter got interpreted by OpenShift/Kubernetes as a regular expression (there is a bug about that: https://bugzilla.redhat.com/show_bug.cgi?id=1482903). It leads to some vague behaviour, like for `127.0.0.1` value `127a0b0c1` will be matched as valid, as well as `localhost.example.com` for `localhost`. I've added regexp escaping here, as well as value anchoring to the begin and end of the string. I've also added case-insensitive flag `(?i)` to match values like `LocalHost` for `localhost`.
Diffstat (limited to 'roles/openshift_metrics/defaults')
0 files changed, 0 insertions, 0 deletions