Re: Slash wrongly encoded as %2F in returning path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




jimmi61 wrote:
> 
> 
> Tomas Kuliavas wrote:
>> 
>> Could you test your PHP settings
>> (http://www.squirrelmail.org/wiki/TestPHPSettings). Show all settings in
>> core, session and mbstring sections.
>> 
> Find the file with the settings here attached. Hope this helps you for
> giving me some debugging option.
> 
> Tomas Kuliavas wrote:
>> 
>> If you have enabled some Zend extensions (apc, apd, suhosin, Zend
>> optimizer, eaccelerator, turk mmcache), try turning them off.
> I don't have such extensions enabled, only those indicated in my previous
> message.
> 
> Thanks for your patience ;)
> Jimmi
> 
> 

Your settings are standard. I don't see anything that might explain double
encoding.

Open /usr/share/squirrelmail/src/compose.php and find lines (477-484) with
----
       if ($compose_new_win == '1') {

            Header("Location: $location/compose.php?mail_sent=yes");
        }
        else {
            Header("Location:
$location/right_main.php?mailbox=$urlMailbox&sort=$sort".
                    "&startMessage=$startMessage");
        }
----

replace second Header() call with die()

----
die("Location: $location/right_main.php?mailbox=$urlMailbox&sort=$sort".
                    "&startMessage=$startMessage");
----

Then try sending reply. Browser should stop and output "Location: some url"
text. Check if mailbox name is encoded there twice. Then restore original
compose.php.

If mailbox name is not encoded twice, name your browser or try reproducing
same issue in other browser. If you use some proxy server, try reproducing
issue without it.

If mailbox is encoded twice, start writing reply again and check page
source. How mailbox name is written in '<input type="hidden" name="mailbox"
value="somename" />' line near the bottom of compose page source and what is
written in '<input type="hidden" name="querystring" value="something" />'
line.
-- 
View this message in context: http://www.nabble.com/Slash-wrongly-encoded-as--2F-in-returning-path-tp15779008p15856428.html
Sent from the squirrelmail-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux