Bug 57245

Summary: "allowLinking" attribute on Context element is not evaluated
Product: Tomcat 8 Reporter: Torsten Krah <krah.tm+apache>
Component: DocumentationAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 8.0.15   
Target Milestone: ----   
Hardware: PC   
OS: Linux   

Description Torsten Krah 2014-11-21 14:54:37 UTC
Docs from here 

http://tomcat.apache.org/tomcat-8.0-doc/security-howto.html#Context 

still known the allowLinking attribute (known from tomcat6, 7 where it works).
Using the same on a Context element in tomcat 8 results in:

WARNUNG: [SetContextPropertiesRule]{Context} Setting property 'allowLinking' to 'true' did not find a matching property.

And the doc on:

http://tomcat.apache.org/tomcat-8.0-doc/config/context.html

doesn't know this anymore.

So somehow this feature is missing now in Tomcat 8 now - can you please add it back?

regards

Torsten
Comment 1 Konstantin Kolinko 2014-11-21 15:02:42 UTC
It is on Resources element now. See
http://tomcat.apache.org/migration-8.html#Web_application_resources

The security-howto.html in Tomcat 8 needs to be corrected.
Comment 2 Torsten Krah 2014-11-21 15:06:48 UTC
Looking at the resource documentation its not clear to me, how i can get the "old" behavior for the docBase allowLinking one.
Can a upgrade example be added there too?
Comment 3 Konstantin Kolinko 2014-11-21 15:20:24 UTC
> Can a upgrade example be added there too?

Done (r1640935)
Comment 4 Torsten Krah 2014-11-21 15:21:38 UTC
Thanks.
Comment 5 Mark Thomas 2014-11-24 11:33:04 UTC
Docs updated in trunk and 8.0.x and will be included in 8.0.16 onwards.