Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1535976 - [trello lo6HwQgu] Should validate Webhook Secret Key input when creating in web
[trello lo6HwQgu] Should validate Webhook Secret Key input when creating in web
Status: CLOSED CURRENTRELEASE
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console (Show other bugs)
3.9.0
Unspecified Unspecified
medium Severity low
: ---
: 3.9.0
Assigned To: Jakub Hadvig
Yadan Pei
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2018-01-18 06:29 EST by Xingxing Xia
Modified: 2018-03-27 05:44 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-01-29 08:12:07 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0489 normal SHIPPED_LIVE Red Hat OpenShift Container Platform 3.9 RPM Release Advisory 2018-03-28 14:06:38 EDT

  None (edit)
Description Xingxing Xia 2018-01-18 06:29:15 EST
Description of problem:
Should validate Webhook Secret Key input

Version-Release number of selected component (if applicable):
v3.9.0-0.20.0

How reproducible:
Always

Steps to Reproduce:
1. Go to secrets page, click Create Secret, select Webhook Secret type, input name
2. Input Webhook Secret Key "!@#$...." and click around

Actual results:
2. No prompt about the invalid key. "Create" can be clicked

Expected results:
2. Should have prompt. "Create" should be inactive

Additional info:
Comment 1 openshift-github-bot 2018-01-24 10:21:13 EST
Commits pushed to master at https://github.com/openshift/origin-web-console

https://github.com/openshift/origin-web-console/commit/085c264a1a39cba0a9df4829da480ea054dbcaad
Bug 1535976 - Add validation to secret reference key and fix nform names in the create-secret form

https://github.com/openshift/origin-web-console/commit/e92e0cf54f9f9e2e6f50334f999de1ae655aeb39
Merge pull request #2680 from jhadvig/sec-form

Automatic merge from submit-queue.

Bug 1535976 - Fix input name in the create-secret form

Fixed wrong `input` names in the `create-secret.html` 
@jwforres PTAL
Comment 2 Jakub Hadvig 2018-01-24 11:13:37 EST
Fixing PR: https://github.com/openshift/origin-web-console/pull/2680
Comment 4 Xingxing Xia 2018-01-28 23:39:38 EST
Checked in v3.9.0-0.31.0. When input is invalid, it prompts:
Secret reference key must consist of lower-case, upper-case letters, numbers, dash, and underscore.
The key must have at least 8 characters.

Note You need to log in before you can comment on or make changes to this bug.