Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0006470 [Resin] minor always 06-01-22 21:08 02-01-23 15:10
Reporter nam View Status public  
Assigned To ferg
Priority normal Resolution open Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 4.0.67 Product Version 4.0.66
  Product Build
Summary 0006470: resin:Forward NullPointerException with absolute-target
Description (rep by M. Lowe)

<resin:Forward regexp="^/foo/bar" absolute-target="http://mysite.com:8080/aaa/bbb.html" [^] />

java.lang.NullPointerException
at com.caucho.server.dispatch.ForwardAbsoluteFilterChain.doFilter(ForwardAbsoluteFilterChain.java:67)
at com.caucho.server.httpcache.ProxyCacheFilterChain.doRequestCacheable(ProxyCacheFilterChain.java:252)
at com.caucho.server.httpcache.ProxyCacheFilterChain.doFilter(ProxyCacheFilterChain.java:193)
at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:156)
at com.caucho.server.webapp.AccessLogFilterChain.doFilter(AccessLogFilterChain.java:95)
at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:314)
at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:843)
at com.caucho.network.listen.TcpSocketLink.dispatchRequest(TcpSocketLink.java:1395)
at com.caucho.network.listen.TcpSocketLink.handleRequest(TcpSocketLink.java:1351)
at com.caucho.network.listen.TcpSocketLink.handleRequestsImpl(TcpSocketLink.java:1335)
at com.caucho.network.listen.TcpSocketLink.handleRequests(TcpSocketLink.java:1243)
at com.caucho.network.listen.TcpSocketLink.handleAcceptTaskImpl(TcpSocketLink.java:1037)
at com.caucho.network.listen.ConnectionTask.runThread(ConnectionTask.java:117)
at com.caucho.network.listen.ConnectionTask.run(ConnectionTask.java:93)
at com.caucho.network.listen.SocketLinkThreadLauncher.handleTasks(SocketLinkThreadLauncher.java:175)
at com.caucho.network.listen.TcpSocketAcceptThread.run(TcpSocketAcceptThread.java:61)
at com.caucho.env.thread2.ResinThread2.runTasks(ResinThread2.java:173)
at com.caucho.env.thread2.ResinThread2.run(ResinThread2.java:118)




Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0007089)
nam
06-01-22 21:17

absolute-target does not support full URLs. It supports "absolute" URLs that start with a slash (/), rather than a relative URL without one.
 

- Issue History
Date Modified Username Field Change
06-01-22 21:08 nam New Issue
06-01-22 21:17 nam Note Added: 0007089
02-01-23 15:10 ferg Assigned To  => ferg
02-01-23 15:10 ferg Status new => closed
02-01-23 15:10 ferg Fixed in Version  => 4.0.67


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