Red Hat Bugzilla – Bug 1318762
strip leading or trailing whitespaces on ip and user when adding a provider
Last modified: 2016-07-26 09:49:16 EDT
Description of problem: UI allows a space to be accepted when adding a provider in the IP,FQDN,USER dialogs. Version-Release number of selected component (if applicable): 5.5.2 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
https://github.com/ManageIQ/manageiq/pull/8398
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/e7f71cea2b2821fb2c4917bb3a0e7fc3595fedee commit e7f71cea2b2821fb2c4917bb3a0e7fc3595fedee Author: Aparna Karve <akarve@redhat.com> AuthorDate: Mon May 2 13:35:40 2016 -0700 Commit: Aparna Karve <akarve@redhat.com> CommitDate: Wed May 18 06:43:17 2016 -0700 Add a spec for detect-spaces directive https://bugzilla.redhat.com/show_bug.cgi?id=1318762 spec/javascripts/directives/detect_spaces_spec.js | 32 +++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 spec/javascripts/directives/detect_spaces_spec.js
Verified in 5.6.0.8. When I write a space, then it tells me, that Spaces are prohibited. But I think, that some providers may let creating their root users with spaces?
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1348