-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Zack,
On 11/24/14 3:05 PM, zack6849 wrote: > Hello, i've found some strange issue with the url mapping with > tomcat, i've tested this on tomcat8 and TomEE, it seems easily > reproducable. > > I have a Filter listening to requests matching "/uploads/*" (all > files inside of my uploads directory" Note that the url-mapping applies to the URL and has nothing to do with files. If you happen to have a file in the /uploads directory, that may cause other behavior to occur, but the filter-mapping only applies to the URL pattern and doesn't match "files". > On TomEE, this filter is fired for requests just as one would > expect, however on tomcat8, it does *not* > > Example: > > /uploads/test.jpg as a file request, the filter fires on TomEE, but > not tomcat, same code, only difference being the servlet mapping. So the code is the same, but the servlet mapping is different. At first, you were talking about Filter mappings and now you are saying: 1. The mapping is for a Servlet 2. The Servlet mapping is "different" Are the servlet mappings really different? If so, how? > Does anyone know what could be causing this? Well, since TomEEE uses Tomcat internally, I would suspect that they would behave identically in these cases. When you run under TomEE your Filter fires, and under tomcat it does not fire? Is anything happening that would cause *another* filter to fire and stop the request? - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org iQIcBAEBCAAGBQJUdVXhAAoJEBzwKT+lPKRY2PwP/j83ru6frNeEQ7jEK7hKbclm SlO9tRn9nMzPEUVZkpb81jmbz8W9LvxPzA1z31UE/Y0IbPH+HzzWPzATmX+nra12 efrzlJvcjYdzwKz7dAN2LpRXPGfZWGPHPtxplmLvc0t0SdKcLOXG54TsKe5969hg 1sGytkuet1fvNKw07dJFK58HR8hFW6EQp4jee2wQz7xJZhrYHrNWsCt7s5EVXhnO toCGEZsaHSX8GdYLeDXcPd5uXLBUU4VRkR8xK1GXVEkCwb5tyqyS4/GgHukf8PJU fMlXnyeAbAXAQ3Gf4fzQYXUG98mxG2/hlFbu1ff9sCgpuiBrl28fuarvq6XKWbFB LfMiS65WR69n/TRo6tVl+L/7GAJ3bxLLVSYscfvQcK9Fn8V13eF/PLPFjeDB+DBS KQEcSPgYxG8ae/zluENDnuHssBatMMZ8e4fne3OyWuCiITB+KeJeGKuHEZsm7E/s zNp7EwFVkCy7sG2byoIt7uteQU5k7WXmiLirMJyGDiFdJi9+Zrmp6kXomLLlC82/ 6+WJ+5VBZelgQnlWc9zbZ0/k/INp60KGye5WaW+KU2jDkoWjqs+MM16nSY0+Ra1Q zeomV4CGcwg45N71esLJfNVt95yNRM2wP49BrAivbtWklETnMQHtye32l2D2aX4j nQuqWX734uA1HuhI8xP0 =5foY -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org