SF.net SVN: phpwiki:[11065] trunk

vargenau--- via phpwiki-checkins <[email protected]> Wed, 15 Nov 2023 17:43:47 +0000
Newsgroups gmane.comp.web.wiki.phpwiki.checkins
Message-ID <[email protected]>
Revision: 11065
          http://sourceforge.net/p/phpwiki/code/11065
Author:   vargenau
Date:     2023-11-15 17:43:47 +0000 (Wed, 15 Nov 2023)
Log Message:
-----------
Fix bug in ExternalReferrer with PHP 8.2

Modified Paths:
--------------
    trunk/lib/ExternalReferrer.php
    trunk/locale/it/pgsrc/NoteDiRilascio
    trunk/pgsrc/ReleaseNotes

Modified: trunk/lib/ExternalReferrer.php
===================================================================
--- trunk/lib/ExternalReferrer.php	2023-11-15 17:09:13 UTC (rev 11064)
+++ trunk/lib/ExternalReferrer.php	2023-11-15 17:43:47 UTC (rev 11065)
@@ -127,6 +127,8 @@
         $url = @parse_url(strtolower($url));
         if (!empty($url["query"])) {
             $url = $url["query"];
+        } else  {
+            return false;
         }
         if ($query1 and @stristr($url, $query1)) {
             $query = @explode($query1, $url);

Modified: trunk/locale/it/pgsrc/NoteDiRilascio
===================================================================
--- trunk/locale/it/pgsrc/NoteDiRilascio	2023-11-15 17:09:13 UTC (rev 11064)
+++ trunk/locale/it/pgsrc/NoteDiRilascio	2023-11-15 17:43:47 UTC (rev 11065)
@@ -1,4 +1,4 @@
-Date: Thu, 13 Jul 2023 11:46:15 +0000
+Date: Wed, 15 Nov 2023 18:39:36 +0000
 Mime-Version: 1.0 (Produced by PhpWiki 1.6.2)
 Content-Type: application/x-phpwiki;
   pagename=NoteDiRilascio;
@@ -8,11 +8,18 @@
 
 <<CreateToc with_toclink||=1 headers||=1,2,3 width=300px position=right>>
 
+== 1.6.3 2023-11-15 Marc-Etienne Vargenau ==
+
+This is a bug-fix release.
+
+It fixes a bug in ~ExternalReferrer with PHP 8.2.
+Reported by Thom Jeera.
+
 == 1.6.2 2023-07-13 Marc-Etienne Vargenau ==
 
 PhpWiki 1.6.2 is the last release compatible with PHP 5.
 It should work for all PHP releases from 5.3.3 to 8.2.x.
-Next release will require at least PHP 7.4.
+PhpWiki 1.7.0 will require at least PHP 7.4.
 
 === Fixes ===
 * Make renaming of pages work for DATABASE_TYPE = PDO and file.

Modified: trunk/pgsrc/ReleaseNotes
===================================================================
--- trunk/pgsrc/ReleaseNotes	2023-11-15 17:09:13 UTC (rev 11064)
+++ trunk/pgsrc/ReleaseNotes	2023-11-15 17:43:47 UTC (rev 11065)
@@ -1,4 +1,4 @@
-Date: Thu, 13 Jul 2023 11:46:15 +0000
+Date: Wed, 15 Nov 2023 18:39:36 +0000
 Mime-Version: 1.0 (Produced by PhpWiki 1.6.2)
 Content-Type: application/x-phpwiki;
   pagename=ReleaseNotes;
@@ -8,11 +8,18 @@
 
 <<CreateToc with_toclink||=1 headers||=1,2,3 width=300px position=right>>
 
+== 1.6.3 2023-11-15 Marc-Etienne Vargenau ==
+
+This is a bug-fix release.
+
+It fixes a bug in ~ExternalReferrer with PHP 8.2.
+Reported by Thom Jeera.
+
 == 1.6.2 2023-07-13 Marc-Etienne Vargenau ==
 
 PhpWiki 1.6.2 is the last release compatible with PHP 5.
 It should work for all PHP releases from 5.3.3 to 8.2.x.
-Next release will require at least PHP 7.4.
+PhpWiki 1.7.0 will require at least PHP 7.4.
 
 === Fixes ===
 * Make renaming of pages work for DATABASE_TYPE = PDO and file.

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.