Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004490 [Resin] minor always 04-08-11 18:04 04-11-11 15:40
Reporter mhixson View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 4.0.17
Summary 0004490: Duplicated request parameters with <rewrite-dispatch><forward>
Description This is basically the same as 0004431: http://bugs.caucho.com/view.php?id=4431 [^]

In this case, instead of:

  <resin:Forward regexp="^/foo$" target="/bar?a=1" />

I do:

  <rewrite-dispatch>
    <forward regexp="^/foo$" target="/bar?a=1" />
  </rewrite-dispatch>

and I have a servlet:

  @WebServlet(urlPatterns="/bar")

and I request:

  /foo?a=2

Then request.getParameterValues("a") gives:

  [2, 1, 2]

See the other bug report for more explanation.
Additional Information I don't know your policy on accepting patches, but I'm uploading one anyway. I'd be happy to modify if you feel like doing a review.
Attached Files  patch.txt [^] (6,283 bytes) 04-08-11 18:04

- Relationships

- Notes
(0005188)
ferg
04-11-11 15:40

server/1knc

Same fix for the previous bug report also fixes this configuration.
 

- Issue History
Date Modified Username Field Change
04-08-11 18:04 mhixson New Issue
04-08-11 18:04 mhixson File Added: patch.txt
04-08-11 18:05 mhixson Issue Monitored: mhixson
04-11-11 15:40 ferg Note Added: 0005188
04-11-11 15:40 ferg Assigned To  => ferg
04-11-11 15:40 ferg Status new => closed
04-11-11 15:40 ferg Resolution open => fixed
04-11-11 15:40 ferg Fixed in Version  => 4.0.17


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