Enforce suffix and prefix to have id or name
issue5831 review33281002
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
* Enforce suffix and prefix to have id or name
|
||||
* Sanitize path in file_open (CVE-2016-1242)
|
||||
* Prevent read of user password hash (CVE-2016-1241)
|
||||
* Add database dump cache for tests
|
||||
|
||||
@@ -559,7 +559,7 @@ Example
|
||||
<tree string="Taxes" sequence="sequence">
|
||||
<field name="name"/>
|
||||
<field name="percentage">
|
||||
<suffix string="%"/>
|
||||
<suffix name="percentage" string="%"/>
|
||||
</field>
|
||||
<field name="group"/>
|
||||
<field name="type"/>
|
||||
|
||||
@@ -64,7 +64,7 @@ attlist.field &= attribute view_ids { text }?
|
||||
prefix = element prefix { attlist.affix, empty }
|
||||
suffix = element suffix { attlist.affix, empty }
|
||||
attlist.affix &= attribute string { text }?
|
||||
attlist.affix &= attribute name { text }?
|
||||
attlist.affix &= ( attribute name { text } | attribute id { text } )
|
||||
attlist.affix &= attribute icon { text }?
|
||||
button = element button { attlist.button, empty }
|
||||
attlist.button &= attribute help { text }?
|
||||
|
||||
@@ -211,9 +211,10 @@
|
||||
</optional>
|
||||
</define>
|
||||
<define name="attlist.affix" combine="interleave">
|
||||
<optional>
|
||||
<choice>
|
||||
<attribute name="name"/>
|
||||
</optional>
|
||||
<attribute name="id"/>
|
||||
</choice>
|
||||
</define>
|
||||
<define name="attlist.affix" combine="interleave">
|
||||
<optional>
|
||||
|
||||
Reference in New Issue
Block a user