Permalink
Browse files

From header for the reportsoxver table is now stored as UTF-8 to fix …

…#1423
  • Loading branch information...
1 parent 4a6263e commit ed398ece8e38a01645ef436c1fe0a9a82b75a21b spotweb committed Feb 27, 2012
Showing with 21 additions and 5 deletions.
  1. +1 −1 lib/SpotDb.php
  2. +1 −1 lib/dbstruct/SpotStruct_abs.php
  3. +19 −3 notifications.xml
View
@@ -1,5 +1,5 @@
<?php
-define('SPOTDB_SCHEMA_VERSION', '0.57');
+define('SPOTDB_SCHEMA_VERSION', '0.58');
class SpotDb {
private $_dbsettings = null;
@@ -370,7 +370,7 @@ function updateSchema() {
# ---- reportsxover table ---- #
$this->createTable('reportsxover', "ascii");
$this->validateColumn('messageid', 'reportsxover', 'VARCHAR(128)', "''", true, 'ascii');
- $this->validateColumn('fromhdr', 'reportsxover', 'VARCHAR(128)', "''", true, 'ascii');
+ $this->validateColumn('fromhdr', 'reportsxover', 'VARCHAR(128)', "''", true, 'utf8');
$this->validateColumn('keyword', 'reportsxover', 'VARCHAR(128)', "''", true, 'ascii');
$this->validateColumn('nntpref', 'reportsxover', 'VARCHAR(128)', "''", true, 'ascii');
$this->alterStorageEngine("reportsxover", "InnoDB");
View
@@ -4,12 +4,28 @@
<title>Spotweb update notifications</title>
<description>Major changes are described in this newsfeed</description>
<link>https://github.com/spotweb/spotweb/</link>
- <lastBuildDate>Mon, 14 Feb 2012 00:00:00 +0100</lastBuildDate>
- <pubDate>Mon, 14 Feb 2012 00:00:00 +0100</pubDate>
+ <lastBuildDate>Mon, 27 Feb 2012 00:00:00 +0100</lastBuildDate>
+ <pubDate>Mon, 27 Feb 2012 00:00:00 +0100</pubDate>
<ttl>1800</ttl>
<item>
<title>Database changes</title>
+ <description><![CDATA[If certain reports in the reporting newsgroup contain UTF-8 characters in the 'From' header, it
+ could throw an err trying to insert this data.
+ ]]></description>
+ <link>https://github.com/spotweb/spotweb/</link>
+ <guid>11</guid>
+ <pubDate>Mon, 27 Feb 2012 00:00:00 +0100</pubDate>
+ <author>spotweb</author>
+ <!-- Please update these according to the current version, it allows for Spotweb to notify the administrator of the changes required -->
+ <spotweb:schema_version>0.58</spotweb:schema_version>
+ <spotweb:settings_version>0.20</spotweb:settings_version>
+ <spotweb:security_version>0.27</spotweb:security_version>
+ <spotweb:feature_version>0.06</spotweb:feature_version>
+ </item>
+
+ <item>
+ <title>Database changes</title>
<description><![CDATA[Added both automatic (from an external source) as user-specified whitelisting. The update on te
database is very small and will process rather quick on most common systems.
]]></description>
@@ -18,7 +34,7 @@
<pubDate>Mon, 6 Feb 2012 00:00:00 +0100</pubDate>
<author>MassD67</author>
<!-- Please update these according to the current version, it allows for Spotweb to notify the administrator of the changes required -->
- <spotweb:schema_version>0.56</spotweb:schema_version>
+ <spotweb:schema_version>0.57</spotweb:schema_version>
<spotweb:settings_version>0.20</spotweb:settings_version>
<spotweb:security_version>0.27</spotweb:security_version>
<spotweb:feature_version>0.06</spotweb:feature_version>

0 comments on commit ed398ec

Please sign in to comment.