Menu

#384 Login failure

open
nobody
None
5
2008-04-07
2008-04-07
No

Hi guys,

With version 1.0.4, whenever I login it goes at the wrong place...

Namely, I run phpBugTracker on my secure server, but in your include.php file, you use "https://" + ... (line 273).

I edited the line and added an 's' so it works for me now. But I guess you should check whether you are running on an http or https server so the login works properly.

Thank you.
Alexis

Discussion

  • Bryce Nesbitt

    Bryce Nesbitt - 2008-09-20

    Good idea, can you submit a patch that works with either http or https?

     
  • Alexis Wilke

    Alexis Wilke - 2008-09-21

    Fix to either support secure or non-secure installs.

     
  • Alexis Wilke

    Alexis Wilke - 2008-09-21

    Hi there,

    I have a patch. In PHP you can test the $_SERVER['HTTPS'] variable. If set to 'on', then you are running on a secure server.

    Thank you.
    Alexis Wilke
    File Added: phpbt-support_any_server.patch

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.