Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001738 [Quercus] major always 05-16-07 13:43 05-17-07 10:22
Reporter mkn View Status public  
Assigned To nam
Priority normal Resolution fixed  
Status closed   Product Version 3.1.1
Summary 0001738: Unclosed character class error in PhpMyAdmin
Description At the opening page and whenever you try to browse data this happens:

om.caucho.quercus.QuercusExecutionException: java.util.regex.PatternSyntaxException
Unclosed character class near index 18
(^|(\\\\)+|[^\])%|_
                  ^
    at java.util.regex.Pattern.error(Pattern.java:1650)
    at java.util.regex.Pattern.clazz(Pattern.java:2199)
    at java.util.regex.Pattern.sequence(Pattern.java:1727)
    at java.util.regex.Pattern.expr(Pattern.java:1687)
    at java.util.regex.Pattern.group0(Pattern.java:2457)
    at java.util.regex.Pattern.sequence(Pattern.java:1715)
    at java.util.regex.Pattern.expr(Pattern.java:1687)
    at java.util.regex.Pattern.compile(Pattern.java:1397)
    at java.util.regex.Pattern.<init>(Pattern.java:1124)
    at java.util.regex.Pattern.compile(Pattern.java:840)
    at com.caucho.quercus.lib.RegexpModule.ereg(RegexpModule.java:128)
    at com.caucho.quercus.lib.RegexpModule.ereg(RegexpModule.java:99)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.caucho.quercus.module.StaticFunction.invoke(StaticFunction.java:105)
    at com.caucho.quercus.env.JavaInvoker.call(JavaInvoker.java:614)
    at com.caucho.quercus.env.JavaInvoker.call(JavaInvoker.java:487)
    at com.caucho.quercus.env.JavaInvoker.call(JavaInvoker.java:473)
    at com.caucho.quercus.expr.FunctionExpr.evalImpl(FunctionExpr.java:180)
    at com.caucho.quercus.expr.FunctionExpr.eval(FunctionExpr.java:125)
    at com.caucho.quercus.expr.Expr.evalBoolean(Expr.java:445)
    at com.caucho.quercus.expr.AndExpr.evalBoolean(AndExpr.java:83)
    at com.caucho.quercus.expr.OrExpr.evalBoolean(OrExpr.java:83)
    at com.caucho.quercus.program.IfStatement.execute(IfStatement.java:74)
    at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
    at com.caucho.quercus.program.IfStatement.execute(IfStatement.java:78)
    at com.caucho.quercus.program.IfStatement.execute(IfStatement.java:75)
    at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
    at com.caucho.quercus.program.WhileStatement.execute(WhileStatement.java:60)
    at .PMA_analyseShowGrant(/D:/software/resin-3.1.1/webapps/resin-doc/examples/quercus-hello/pma/libraries/check_user_privileges.lib.php:24)

The offending line is presumably
   $re0 = '(^|(\\\\\\\\)+|[^\])'; // non-escaped wildcards
Additional Information
Attached Files

- Relationships

- Notes
(0001933)
mkn
05-16-07 13:44

Forgot to mention the PhpMyAdmin version 2.10.1
 
(0001934)
nam
05-17-07 10:22

php/152x
 

- Issue History
Date Modified Username Field Change
05-16-07 13:43 mkn New Issue
05-16-07 13:44 mkn Note Added: 0001933
05-17-07 10:00 nam Status new => assigned
05-17-07 10:00 nam Assigned To  => nam
05-17-07 10:22 nam Status assigned => closed
05-17-07 10:22 nam Note Added: 0001934
05-17-07 10:22 nam Resolution open => fixed
05-17-07 10:22 nam Fixed in Version  => 3.1.2


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker