Clone
Jacques Le Roux
committed
on 03 Jul 19
"Applied fix from plugins for revision: 1862466 " ------------------------------------------------------------------------ r1862466 | jlerou… Show more
"Applied fix from plugins for revision: 1862466 " ------------------------------------------------------------------------ r1862466 | jleroux | 2019-07-03 15:30:28 +0200 (mer. 03 juil. 2019) | 20 lignes

Fixed: Error message is displayed when user having space in username logs

in at ecommerce

(OFBIZ-10671)

Steps to regenerate:

# Open URL: [https://demo-trunk.ofbiz.apache.org/ecommerce/control/main]

# Click on register in header section

# Provide all the mandatory information but provide a user name such that is

   contains a space (like: Walter White or Jesse Pinkman)

# Click on save button

Actual: When user clicks on save button then he is redirected to main page of

ecommerce and an error message is displayed.

Similarly when user with space in username tries to login, error message is

displayed.

Praven: Added standard regex for username allowed alphabets, numbers, and _-

jleroux: actually "-" was  missing in the regepx definition.

Thanks: Arpit Mor for report and Praveen Sharma for the fix

------------------------------------------------------------------------

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/branches/release18.12@1862469 13f79535-47bb-0310-9956-ffa450edef68

Show less