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:
>> 
>> You can't get such URL in replies. Such order of arguments is possible
>> only when you click on "Message List" link or when you resume message
>> writing from draft and send or save it. Mailbox name is encoded twice.
>> Script that might redirect you to
>> right_main.php?sort=0&startMessage=1&mailbox=somemailbox, encodes mailbox
>> only once.
>> 
> 
> You are right Tomas, the URL I indicated is coming after deleting one
> message while reading it. I assumed that, since the error was the same,
> even the URL would be. After sending a reply the URL is:
> 
> https://MYSITE/src/right_main.php?mailbox=Mail%252FMYBOX&sort=0&startMessage=1
> 
> But the error message is exactly the same. I also realize now only that in
> the URL there is, as you said, a double enconding since %252F is '%25'='%'
> + '2F' that should give /
> 
> 
> Tomas Kuliavas wrote:
>> I suspect that such error could happen only if you have broken
>> urlencode() function.
> 
> I'm not sure what do you mean by breaking urlencode(), but I may confirm
> you that I did not modified the squirrelmail code in any way.
> 

Something forces to encode mailbox name twice. Function is called only once,
yet mailbox is encoded twice.

Could you test your PHP settings
(http://www.squirrelmail.org/wiki/TestPHPSettings). Show all settings in
core, session and mbstring sections. If you have enabled some Zend
extensions (apc, apd, suhosin, Zend optimizer, eaccelerator, turk mmcache),
try turning them off.

-- 
Tomas
-- 
View this message in context: http://www.nabble.com/Slash-wrongly-encoded-as--2F-in-returning-path-tp15779008p15834756.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