소스 검색

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

Luke Taylor 15 년 전
부모
커밋
dada047e04
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      itest/web/src/main/webapp/WEB-INF/security.tld
  2. 1 1
      taglibs/src/main/resources/META-INF/security.tld

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

@@ -32,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

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

@@ -32,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