Parcourir la source

SEC-1456: Set rtexprvalue=true for "url" attribute in access tag to allow dynamic values (such as URL of current page).

Luke Taylor il y a 15 ans
Parent
commit
e6e168f127
1 fichiers modifiés avec 1 ajouts et 2 suppressions
  1. 1 2
      taglibs/src/main/resources/META-INF/security.tld

+ 1 - 2
taglibs/src/main/resources/META-INF/security.tld

@@ -9,7 +9,6 @@
     <uri>http://www.springframework.org/security/tags</uri>
     <description>
         Spring Security Authorization Tag Library
-        $Id$
     </description>
 
     <tag>
@@ -33,7 +32,7 @@
         <attribute>
             <name>url</name>
             <required>false</required>
-            <rtexprvalue>false</rtexprvalue>
+            <rtexprvalue>true</rtexprvalue>
             <description>
                 A URL within the application. If the user has access to this URL (as determined by
                 the AccessDecisionManager), the tag body will be evaluated. If not, it will