Bug 56903

Summary: Missing comma-Separator in StandardContexts getRessourceOnlyServlets - CID-45051
Product: Tomcat 8 Reporter: Felix Schumacher <felix.schumacher>
Component: CatalinaAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED FIXED    
Severity: minor    
Priority: P2    
Version: 8.0.x-trunk   
Target Milestone: ----   
Hardware: All   
OS: All   
Attachments: Set flag in loop, so that commata are generated in between servlet names
Set flag in loop, so that commata are generated in between servlet names plus test case

Description Felix Schumacher 2014-08-31 10:57:51 UTC
Created attachment 31956 [details]
Set flag in loop, so that commata are generated in between servlet names

A missing setting of a flag in a loop prevented the generation of commata in between serlvet names in StandardContext#getRessourceOnlyServlets.
Comment 1 Felix Schumacher 2014-08-31 13:43:13 UTC
Created attachment 31957 [details]
Set flag in loop, so that commata are generated in between servlet names plus test case
Comment 2 Mark Thomas 2014-09-01 10:41:10 UTC
Thanks for the fix. I have applied a variation of the patch (inverted logic and simpler test) to 8.0.x which will be included in 8.0.13 onwards.
Comment 3 Violeta Georgieva 2014-09-03 15:43:13 UTC
Fix is committed to 7.0.x and will be available in 7.0.56 onwards.