Invalid quantifier javascript error when creating account

Bug #615468 reported by John Reuning
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Eucalyptus
Fix Released
Low
Dmitrii Zagorodnov
eucalyptus (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Using the latest update (as of 9 Aug 2010) of UEC tools and web app, I am unable to create an account with a password containing two adjacent asterisks ("**"). The error message in firebug is:

invalid quantifier [plus some characters from the password string]
[Break on this error] function iRc(c,b){var a=(new RegExp(b)).exec(c);return a==null?false:c==a[0]}
https://[hostname]:8443/E1314E9CA21508A4E229BB13E2D0AF43.cache.html (line 2120)

It seems to happen with a double asterisk at the beginning, end, or in the middle.

Steps to reproduce:

1. Go to Ubuntu cloud controller web url
2. Click on "Apply" to apply for account
3. Enter account information, including password with double asterisk characters
4. Click "Sign up"

The result is no error message in the web UI, just nothing happens. Seeing the error message requires a js debugger.

Eucalyptus package version: 1.6.2-0ubuntu30.3

Revision history for this message
C de-Avillez (hggdh2) wrote :

Confirmed on Eucalyptus 2.0 (Maverick). I used a password of 'aaa**aaa', and got (in the FireBug console):

invalid quantifier *aaa.*
[Break on this error] function yRc(c,b){var a=(new RegExp(b)).exec(c);return a==null?false:c==a[0]}

Changed in eucalyptus (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
C de-Avillez (hggdh2) wrote :

Opening upstream. The important points here (notwithstanding if asterisks -- either single or more -- are or not valid for password is:

1. *NO* feedback is provided for the user.
2. Of course, the Javascript code error.

Revision history for this message
Dmitrii Zagorodnov (dmitrii) wrote :

fixed in revno 1222

Changed in eucalyptus:
assignee: nobody → Dmitrii Zagorodnov (dmitrii)
importance: Undecided → Low
status: New → Fix Committed
Revision history for this message
C de-Avillez (hggdh2) wrote :

Confirmed working on rev 1230/1231, so marking Fix Released.

@John Reuning: if you consider this fix important for Lucid, please open a task for it.

Changed in eucalyptus (Ubuntu):
status: Confirmed → Fix Released
Changed in eucalyptus:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.