Your message dated Fri, 20 May 2005 00:56:17 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Resolved upstream
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 2 May 2005 15:30:45 +0000
>From [EMAIL PROTECTED] Mon May 02 08:30:44 2005
Return-path: <[EMAIL PROTECTED]>
Received: from mylar.outflux.net [69.93.193.226] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DScse-0007Co-00; Mon, 02 May 2005 08:30:44 -0700
Received: from mylar.outflux.net (localhost [127.0.0.1])
        by mylar.outflux.net (8.13.4/8.13.4/Debian-1) with ESMTP id 
j42FUhL9024544
        (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
        Mon, 2 May 2005 08:30:44 -0700
Received: (from [EMAIL PROTECTED])
        by mylar.outflux.net (8.13.4/8.13.4/Submit) id j42FUhIB024542;
        Mon, 2 May 2005 08:30:43 -0700
Message-Id: <[EMAIL PROTECTED]>
X-Authentication-Warning: mylar.outflux.net: kees set sender to [EMAIL 
PROTECTED] using -f
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Kees Cook <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: wordpress: URL replacement for smilies uses "siteurl" instead of "home"
X-Mailer: reportbug 3.11
Date: Mon, 02 May 2005 08:30:43 -0700
X-MIMEDefang-Filter: outflux$Revision: 1.211 $
X-HELO: mylar.outflux.net
X-Scanned-By: MIMEDefang 2.51 on 69.93.193.226
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.5 required=4.0 tests=BAYES_00,HAS_PACKAGE,
        HTML_MESSAGE autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: wordpress
Version: 1.5.0-1
Severity: minor
Tags: patch

It seems that the smilies URL is replaced with "siteurl" instead of
"home".  In my wordpress configuration, I have "siteurl" pointing to
https so that logins are protected.  However, everything else seems to
use the "home" url (which is just http).  This patch changes that.

--- /tmp/vars.php       2005-05-02 08:14:57.000000000 -0700
+++ wordpress/wp-includes/vars.php      2005-05-02 08:15:04.000000000 -0700
@@ -102,11 +102,11 @@
 foreach($wpsmiliestrans as $smiley => $img) {
        $wp_smiliessearch[] = $smiley;
        $smiley_masked = htmlspecialchars( trim($smiley) , ENT_QUOTES);
-       $wp_smiliesreplace[] = " <img src='" . get_settings('siteurl') . 
"/wp-images/smilies/$img' alt='$smiley_masked' class='wp-smiley' /> ";
+       $wp_smiliesreplace[] = " <img src='" . get_settings('home') . 
"/wp-images/smilies/$img' alt='$smiley_masked' class='wp-smiley' /> ";
 }
 
 // Path for cookies
 define('COOKIEPATH', preg_replace('|https?://[^/]+|i', '', 
get_settings('home') . '/' ) );
 define('SITECOOKIEPATH', preg_replace('|https?://[^/]+|i', '', 
get_settings('siteurl') . '/' ) );
 
-?>
\ No newline at end of file
+?>


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.4.26-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages wordpress depends on:
ii  apache [httpd]               1.3.33-4    versatile, high-performance HTTP s
ii  mysql-server                 4.0.24-5    mysql database server binaries
ii  php4                         4:4.3.10-12 server-side, HTML-embedded scripti
ii  php4-mysql                   4:4.3.10-12 MySQL module for php4

-- no debconf information

---------------------------------------
Received: (at 307333-done) by bugs.debian.org; 19 May 2005 23:56:15 +0000
>From [EMAIL PROTECTED] Thu May 19 16:56:14 2005
Return-path: <[EMAIL PROTECTED]>
Received: from host-83-146-8-59.bulldogdsl.com (bible) [83.146.8.59] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DYusA-0001Fu-00; Thu, 19 May 2005 16:56:14 -0700
Received: from hendry by bible with local (Exim 4.50)
        id 1DYusD-00085P-I1
        for [EMAIL PROTECTED]; Fri, 20 May 2005 00:56:17 +0100
Date: Fri, 20 May 2005 00:56:17 +0100
From: Kai Hendry <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Resolved upstream
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.9i
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-0.5 required=4.0 tests=BAYES_30 autolearn=no 
        version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Upstream has been informed of the patch and I will leave it to them.

Thanks for taking the time to file the bug and submit a patch.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to