Browse Source

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

Luke Taylor 15 years ago
parent
commit
dada047e04

+ 1 - 1
itest/web/src/main/webapp/WEB-INF/security.tld

@@ -32,7 +32,7 @@
         <attribute>
         <attribute>
             <name>url</name>
             <name>url</name>
             <required>false</required>
             <required>false</required>
-            <rtexprvalue>false</rtexprvalue>
+            <rtexprvalue>true</rtexprvalue>
             <description>
             <description>
                 A URL within the application. If the user has access to this URL (as determined by
                 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
                 the AccessDecisionManager), the tag body will be evaluated. If not, it will

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

@@ -32,7 +32,7 @@
         <attribute>
         <attribute>
             <name>url</name>
             <name>url</name>
             <required>false</required>
             <required>false</required>
-            <rtexprvalue>false</rtexprvalue>
+            <rtexprvalue>true</rtexprvalue>
             <description>
             <description>
                 A URL within the application. If the user has access to this URL (as determined by
                 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
                 the AccessDecisionManager), the tag body will be evaluated. If not, it will