VirtualBox

Ignore:
Timestamp:
Jan 26, 2016 8:19:47 PM (9 years ago)
Author:
vboxsync
Message:

websrv-python.xsl: limit array handling in attribute setters to the places which actually are meant to handle arrays.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/webservice/websrv-python.xsl

    r59487 r59488  
    114114       req=<xsl:value-of select="$ifname"/>_<xsl:value-of select="$fname"/>RequestMsg()
    115115       req._this=self.handle
    116        if type(value) in [int, bool, basestring, str, tuple, list]:
     116       if type(value) in [int, bool, basestring, str<xsl:if test="$attrsafearray='yes'">, tuple, list</xsl:if>]:
    117117            req._<xsl:value-of select="$attrname"/> = value
    118118       else:
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette