Bug 786608

Summary: Add forbidden character checking for app names at creation via java client
Product: OKD Reporter: Bill DeCoste <wdecoste>
Component: ocAssignee: Bill DeCoste <wdecoste>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: high Docs Contact:
Priority: unspecified    
Version: 2.xCC: myu, szhou
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-03 21:28:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Bill DeCoste 2012-02-01 21:59:28 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:
Consistent


Steps to Reproduce:
1. Create application with forbidden character (e.g. underscore) via java client
2.
3.
  
Actual results:
App creation succeeds


Expected results:
App creation fails


Additional info:
https://www.redhat.com/openshift/community/forums/unable-to-delete-application

Comment 1 Bill DeCoste 2012-02-02 16:47:41 UTC
Java client now restricts application and domain names to alphanumerics

Comment 2 yumingzhe 2012-02-03 02:56:35 UTC
I have verified this bug with invalid characters like '+-~!@#$%^&*()/',they are all not allowed to create app. The bug is fixed.