[Pcsclite-cvs-commit] r5171 - /website/matrix.py

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Sun Aug 22 12:24:43 UTC 2010


Author: rousseau
Date: Sun Aug 22 12:24:37 2010
New Revision: 5171

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=5171
Log:
escape the HTML tags in the "note" and other fields

Modified:
    website/matrix.py

Modified: website/matrix.py
URL: http://svn.debian.org/wsvn/pcsclite/website/matrix.py?rev=5171&op=diff
==============================================================================
--- website/matrix.py (original)
+++ website/matrix.py Sun Aug 22 12:24:37 2010
@@ -91,7 +91,7 @@
                 # for the features we use a list
                 readers[r][o] = [config.get(r, o)]
             else:
-                readers[r][o] = config.get(r, o)
+                readers[r][o] = html_escape(config.get(r, o))
 
         bPINSupport = int(readers[r]['bPINSupport'], 16)
         if bPINSupport != 0 and not 'features' in readers[r]:




More information about the Pcsclite-cvs-commit mailing list