[Tickets #379] RESOLVED: Fail to return to Inbox
bugs@bugs.horde.org
bugs at bugs.horde.org
Tue Mar 14 03:09:56 PST 2006
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=379
-----------------------------------------------------------------------
Ticket | 379
Updated By | just_ilyas at yahoo.com
Summary | Fail to return to Inbox
Queue | Passwd
Version | 2.2.1
State | Bogus
Priority | 2. Medium
Type | Bug
Owners | Eric Rostetter
+New Attachment | horde.png
-----------------------------------------------------------------------
just_ilyas at yahoo.com (2006-03-14 03:09) wrote:
Using:
- Horde 3.1 (March 6 2006)
- IMP H3 (4.1) (March 6 2006)
- Turba H3 (2.1) (March 6 2006)
- Ingo H3 (1.1) (March 6 2006)
- Passwd H3 (3.0) (October 9 2005)
Passwd uses vpopmail backend :
$backends['vpopmail']= array (
'name' => 'My Mail Server Name',
'preferred' =>'',
'password policy'=>array(
'maxSpace' => 0,
'minUpper' => 0,
'minLower' => 0,
'minNumeric' => 0
),
'driver' => 'vpopmail',
'params' => array(
'phptype' => 'mysql',
'hostspec' => 'localhost',
'username' => '*******',
'password' => '********',
'encryption' => 'crypt',
'database' => 'vpopmail',
'table' => 'vpopmail',
'name' => 'pw_name',
'domain' => 'pw_domain',
'passwd' => 'pw_passwd',
'clear_passwd' => 'pw_clear_passwd',
'use_clear_passwd' => true,
'show_encryption' => true
)
);
So when changing password for user doesn't work. Let me explain in detail:
-When I click to Passwd icon in menu. I see url appended to address of my
mail server
- When I enter all fields and submit form, I got no result and I see blank
page
So as I understood, after users submits passwd form page should go to to
page which is in $return_to variable. So from where does it got? As I said
above when you click to passwd icon to change password url gots extra
variable $url like:
http://mymail.server.kg/index.php?Horde=[here_is_horde_session_id]&url=http%
3A%2F%2Fmymail.server.kg%2F%3F
So after I looked through main.php in passwd I found that it uses
$return_url variable after password is changed and goes to that page.
code snippet:
$return_to=Util::getFormData('return_to');
if (!empty($return_to)){
header('Location:'.$return_to );
exit();
}else
bla bla
Hmmm, so it gets from password change form. Let's look to this form. I found
that i sends it as hidden and i has value of ''(no value). I think the $url
should be replaced with $return_to if this $url variable not used or add
$return_to in passwd link like in problem link which is
(http://mymail.server.kg/services/problem.php?return_url=http%3A%2F%2Fmymail
.server.kg%2Findex.php%3FHorde%3....)
png attached to be clear.
Thanks
More information about the bugs
mailing list