Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001385 [Quercus] minor always 09-01-06 09:24 01-18-07 03:03
Reporter marklai View Status public  
Assigned To nam
Priority normal Resolution fixed  
Status closed   Product Version 3.0.21
Summary 0001385: PatternSyntaxException: Illegal/unsupported escape squence (Gallery2 install)
Description Resin 3.0.21, Gallery2 2.1.2, Windows XP Pro

Getting java.util.regex.PatternSyntaxException on the first step of Gallery2 installation: "Begin Installation" button --> http://localhost:8080/gallery2/install/index.php?step=1 [^]

500 Servlet Exception

java.util.regex.PatternSyntaxException: Illegal/unsupported escape squence
near index 25
^I:\resin-3.0.21\webapps\ROOT\/(.*)
                         ^
    at java.util.regex.Pattern.error(Pattern.java:1650)
    at java.util.regex.Pattern.escape(Pattern.java:2121)
    at java.util.regex.Pattern.atom(Pattern.java:1863)
    at java.util.regex.Pattern.sequence(Pattern.java:1794)
    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.compileRegexp(RegexpModule.java:1148)
    at com.caucho.quercus.lib.RegexpModule.preg_match(RegexpModule.java:173)
    at _quercus._gallery2._install._steps._authenticatestep__class$quercus_AuthenticateStep$fun_loadTemplateData.callMethod(_authenticatestep__class.java:145)
    at com.caucho.quercus.env.ObjectExtValue.callMethod(ObjectExtValue.java:593)
    at com.caucho.quercus.env.Var.callMethod(Var.java:859)
    at _quercus._gallery2._install._index__php.execute(I:/resin-3.0.21/webapps/ROOT/gallery2/install/index.php:207)
    at com.caucho.quercus.page.QuercusPage.executeTop(QuercusPage.java:122)
    at com.caucho.quercus.servlet.QuercusServlet.service(QuercusServlet.java:244)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:92)
    at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106)
    at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:173)
    at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
    at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:274)
    at com.caucho.server.port.TcpConnection.run(TcpConnection.java:511)
    at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:516)
    at com.caucho.util.ThreadPool.run(ThreadPool.java:442)
    at java.lang.Thread.run(Thread.java:595)

Resin-3.0.21 (built Thu, 10 Aug 2006 12:03:19 PDT)
Additional Information
Attached Files

- Relationships

- Notes
(0001729)
nam
01-17-07 13:12
edited on: 01-18-07 03:02

$_SERVER["document_root"] path fix

regexp backslash escaping (php/152l)

 

- Issue History
Date Modified Username Field Change
09-01-06 09:24 marklai New Issue
09-01-06 09:37 marklai Issue Monitored: marklai
10-04-06 02:10 nam Status new => assigned
10-04-06 02:10 nam Assigned To  => nam
01-17-07 13:12 nam Status assigned => closed
01-17-07 13:12 nam Note Added: 0001729
01-17-07 13:12 nam Resolution open => fixed
01-17-07 13:12 nam Fixed in Version  => 3.1.1
01-18-07 03:02 nam Status closed => assigned
01-18-07 03:02 nam Note Edited: 0001729
01-18-07 03:03 nam Status assigned => closed


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