#116 newmail with multple hosts

closed
nobody
None
5
2005-07-06
2005-07-06
Jam
No

Configuration:

- multiple host on the same machine (using multiple ports)
- using multiple host names
- https enabled
- same user can logon using multiple host names

Problem:
"newmail_media" in prefs contains the hostname used
when the media file was selected (and stored in user
prefs). login on with a different host name the
ssl-certificat does not match and the user is asked to
accept a "not matching" certificate.

Solution:
Change the way newmail_media is used (see attached
patch file).

Warning:
Patch only tested on my machine - may be there must be
developped some code around ;-)

Jam

Discussion

  • Jam
    Jam
    2005-07-06

     
    Attachments
  • Tomas Kuliavas
    Tomas Kuliavas
    2005-07-06

    • labels: 477103 -->
     
  • Tomas Kuliavas
    Tomas Kuliavas
    2005-07-06

    Logged In: YES
    user_id=225877

    Issue is specific to stable.

    devel branch does basename($newmail_media) and prepends
    sqm_baseuri() . 'plugins/newmail/sounds/'

    $newmail_media=sqm_baseuri().'plugins/newmail/sounds/'.basename($newmail_media);

    if you use sqm_baseuri() function (available since 1.2.6),
    you don't add php version dependency and don't access
    $_SERVER vars directly.

     
  • Jam
    Jam
    2005-07-06

    Logged In: YES
    user_id=1280110

    Yes, work well and is much more flexible -

    Thx!

     
  • Jam
    Jam
    2005-07-06

    • status: open --> closed
     
  • Tomas Kuliavas
    Tomas Kuliavas
    2005-07-06

    Logged In: YES
    user_id=225877

    Stable is not fixed. Keeping bug open until we fix it in stable.

     
  • Tomas Kuliavas
    Tomas Kuliavas
    2005-07-06

    • status: closed --> open
     
  • Jam
    Jam
    2005-07-06

    • status: open --> closed
     
  • Jam
    Jam
    2005-07-06

    Logged In: YES
    user_id=1280110

    Yes, work well and is much more flexible -

    Thx!