Public bug reported:

The minified mootools-more file (mootools-more.min.js) has question marks in 
place of foreign characters.
This introduces a syntax error in a regular expression in line 1, column 157662 
that breaks the script for firefox.

I noticed this because phpmyadmin tries to use some features from the
mootools more library.

Version affected: libjs-mootools_1.2.5~debian1-2
Versions NOT affected: 1.2.4.0~debian1-1, 1.3.2~debian1-1

Sample expected content:
return 
Form.Validator.getValidator("IsEmpty").test(a)||(/^¥?\-?([1-9]{1}[0-9]{0,2}(\,[0-9]{3})*(\.[0-9]{0,2})?|[1-9]{1}\d*(\.[0-9]{0,2})?|0(\.[0-9]{0,2})?|(\.[0-9]{1,2})?)$/).test(a.get("value"))}});

Actual content:
return 
Form.Validator.getValidator("IsEmpty").test(a)||(/^????\-?([1-9]{1}[0-9]{0,2}(\,[0-9]{3})*(\.[0-9]{0,2})?|[1-9]{1}\d*(\.[0-9]{0,2})?|0(\.[0-9]{0,2})?|(\.[0-9]{1,2})?)$/).test(a.get("value"))}});

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: libjs-mootools 1.2.5~debian1-2
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic-pae 2.6.38.2
Uname: Linux 2.6.38-8-generic-pae i686
Architecture: i386
CheckboxSubmission: af613d0071be360b97ad0c0c4824c134
CheckboxSystem: 8ad0a655cf1c95961a072152183cb49b
Date: Thu Jun 30 14:58:14 2011
Dependencies:

PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_GB:en
 PATH=(custom, no user)
 LANG=en_GB.utf8
 SHELL=/bin/bash
SourcePackage: mootools
UpgradeStatus: Upgraded to natty on 2011-05-06 (55 days ago)

** Affects: mootools (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 natty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/803900

Title:
  mootools-more.min.js non-ascii characters replaced by question marks

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mootools/+bug/803900/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to