appdb/include distribution.php

WineHQ wineowner at wine.codeweavers.com
Sat Apr 21 13:09:13 CDT 2007


ChangeSet ID:	31074
CVSROOT:	/opt/cvs-commit
Module name:	appdb
Changes by:	wineowner at winehq.org	2007/04/21 13:09:13

Modified files:
	include        : distribution.php 

Log message:
	Alexander Nicolaysen Sørnes <alex at thehandofagony.com>
	Repalce '"' with '&quot;' in the distribution form. Otherwise we end up with broken <input>
	fields

Patch: http://cvs.winehq.org/patch.py?id=31074

Old revision  New revision  Changes     Path
 1.25          1.26          +1 -0       appdb/include/distribution.php

Index: appdb/include/distribution.php
diff -u -p appdb/include/distribution.php:1.25 appdb/include/distribution.php:1.26
--- appdb/include/distribution.php:1.25	21 Apr 2007 18: 9:13 -0000
+++ appdb/include/distribution.php	21 Apr 2007 18: 9:13 -0000
@@ -340,6 +340,7 @@ class distribution {
     {
         echo "<table width='100%' border=0 cellpadding=2 cellspacing=0>\n";
 
+        $this->sName = str_replace('"', '&quot;', $this->sName);
         // Name
         echo html_tr(array(
                 array("<b>Distribution Name</b>", 'class="color1"'),



More information about the wine-cvs mailing list