Menu

#314 Extra slash introduced by Back link on error page

Reproducible
closed-fixed
Other (69)
5
2006-09-01
2006-08-30
openfan
No

"Back" link on the error page shown after invalid
login attempt does work but introduces an extra
forward slash in the URL when using it.

I guess this can be fixed by simply removing the
forward slash before logout.php in error.php, because
user has entered the / at the end of the full webmail
URL setting in conf.php, for example:

// Webmail url (i.e. http://www.example.com/webmail/\),
used by RSS feed.
// Don't forget the trailing "/"
$conf->webmail_url = "http://www.mydom.com/webmail/";

But .. that means $conf->webmail_url should be a
required configuration setting in conf.php since it is
used not only with RSS function as comment hints, but
also by error.php. At the moment, $conf->webmail_url
is not in the required section of conf.php, possibly
this should be changed too?

Win XP Pro SP2
Apache 2.2.0 with PHP 5.1.2 as module
NOCC 1.3-dev (CVS build 2006-08-28)

Discussion

  • Anonymous

    Anonymous - 2006-09-01
    • assigned_to: nobody --> goddess_skuld
    • status: open --> closed-fixed
     
  • Anonymous

    Anonymous - 2006-09-01

    Logged In: YES
    user_id=529507

    Fixed in CVS.

    It'll be included in next release.

    But you can download daily snapshots at :
    http://nocc.sourceforge.net/download/

    Thanks for the bug report.

     

Log in to post a comment.