Tracker: Bugs

5 Problem with Logout-, Compose-, ... Link - ID: 1110064
Last Update: Comment added ( kink )

Hi,

I've installed SquirrelMail 1.4.4 on my homepage, but I
have a problem with the logout, compose, ... link.
The location for Squirrelmail on my homepage is e.g.
https://xxx.yyy.de/webmail.test.de/squirrelmail

When I use this URL, I can login to SquirrelMail and
read my messages, ...
When I try to logout or compose a message I have the
problem that the links are set to
https://xxx.yyy.de/src/signout.php instead of
https://xxx.yyy.de/webmail.test.de/squirrelmail/src/signout.php

Can you imagine whats the problem?
If I use a Squirrelmail over http://webmail.test.de
everything works fine.

Best regards.


Patrick Flaig ( flaig ) - 2005-01-26 17:30

5

Closed

Fixed

Thijs Kinkhorst

None

None

Public


Comments ( 12 )

Date: 2006-07-25 09:23
Sender: kinkProject AdminAccepting Donations

Logged In: YES
user_id=285765

I've applied a bug fix to current devel and stable CVS that
allows one to configure the proto+hostname+port part of the
base uri (optionally), so situations like this where that
goes wrong can then be fixed by the administrator. I think
we cannot further improve our heuristic because some things
we just don't know.


Date: 2006-07-06 11:59
Sender: kinkProject AdminAccepting Donations

Logged In: YES
user_id=285765

We've recently released 1.4.7 which includes fixes to
address this problem. Can you confirm that this indeed fixed
the bug? Please let us know. Thanks.


Date: 2006-06-26 14:41
Sender: kinkProject AdminAccepting Donations

Logged In: YES
user_id=285765

I've applied some fixes to the logic in 1.4.7-CVS and
1.5.2-CVS recently. Can you check whether that resolved the
problem?


Date: 2005-05-15 16:24
Sender: flaig

Logged In: YES
user_id=841587

Hi,

I've tried to resolve the bug. The only problem I see, is
the identification of the domainname.
For e.g. if I use
http://squirrelmail.xyz.de/src/configtest.php it detects the
base url as http://squirrelmail.xyz.de/src.
If I use http://webmail.xyz.de which forwards the request to
https://ssl.provider.de/squirrelmail.xyz.de it detects the
base url as http://squirrelmail.xyz.de//src (regard the two //).
Do you save the fqdn?


Date: 2005-05-14 10:50
Sender: kinkProject AdminAccepting Donations

Logged In: YES
user_id=285765

Can you help in resolving this bug? Please let me know.


Date: 2005-04-27 10:16
Sender: kinkProject AdminAccepting Donations

Logged In: YES
user_id=285765

Can you help tracing the information I requested? Please let
me know.


Date: 2005-04-04 17:49
Sender: kinkProject AdminAccepting Donations

Logged In: YES
user_id=285765

Hmm, appearently $base_uri is not set correctly in the
session (which is used to make that URL in the function
makeInternalLink(), functions/page_header.php. I guess that
it's set to "/" for some reason (it's being 'calculated' in
redirect.php).

Since it doesn't happen here, I can't easily debug it. Do
you think you can debug why it gets the wrong value? That
would be of great help in resolving this issue.


Date: 2005-01-30 21:06
Sender: flaig

Logged In: YES
user_id=841587

I've tried to change the get_location() function, but the
problem is still the same.

The links from the left mailbox-tree are working fine, also
the links to read a mail.
Only the page header links (Compose, Search, Help, ...) are
working with other paths. Are they coded relative or full?


Date: 2005-01-30 19:57
Sender: kinkProject AdminAccepting Donations

Logged In: YES
user_id=285765

Currently, that's not possible except by changing the
SquirrelMail source code (which is not that hard): just
adapt the get_location() function in functions/strings.php
to return your hardcoded URL.

There's indeed a plan to make the base URL manually
configurable which is quite common in other web
applications, and leave the current function as a
default/fallback/'detect' option.


Date: 2005-01-30 11:14
Sender: flaig

Logged In: YES
user_id=841587

Hello again,

I've asked my Webhoster, and he said that all the request
over SSL are going throught a proxy.
The proxy is forwarding the request to the http-Server and
sends the reply SSL-encoded.

Is there a way to define the Base URL manually or change it?


Date: 2005-01-28 11:14
Sender: flaig

Logged In: YES
user_id=841587

It detects the Base URL as http://webmail.test.de/src


Date: 2005-01-28 09:08
Sender: kinkProject AdminAccepting Donations

Logged In: YES
user_id=285765

When you run the src/configtest.php script, what does it
output after "Base URL detected as:" ?


Attached File

No Files Currently Attached

Changes ( 4 )

Field Old Value Date By
status_id Open 2006-07-25 09:23 kink
resolution_id None 2006-07-25 09:23 kink
close_date - 2006-07-25 09:23 kink
assigned_to nobody 2005-03-31 13:16 kink