SquirrelMail 1.4.13 HTTP 404 issue

Computer builds, hardware and software discussion or troubleshooting, including peripherals. Essentially a general place to talk about desktop computers.
Locked
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

SquirrelMail 1.4.13 HTTP 404 issue

Post by Red Squirrel »

If you are using HTTPS with SquirrelMail you may get 404 errors after sending an email, purging a trash folder or doing other actions.

This is due to a bug or missconsideration in functions/strings.php function get_location()

The easiest way to solve this issue is to replace the contents of that function with something like:


return "https://webmail.example.com/src/"


Or whatever reflects the location of the install. I was unable to find a solution on google since all the forums I landed on had some troll saying to search google, so thought I would post the solution here in case someone does a search and finds this.

Archived topic from Iceteks, old topic ID:5050, old post ID:38856
Honk if you love Jesus, text if you want to meet Him!
Locked