Welcome to Geeklog, Anonymous Sunday, November 08 2026 @ 06:47 pm EST
Geeklog Forums
Must re-authenticate and fail using https:
Status: offline
remy
Forum User
Full Member
Registered: 06/09/03
Posts: 167
Location:D-Bonn
Restarted my activity and support for Geeklog, mainly because Ben was submitting real useful stuff. Installed Geeklog 2.2.2 and use https-
Well, the result: I can modify myAccount, but that's all. Any attempt to change the configuration, the layout (Blocks) or Users, results in re-authentication, which obviously fails.
Well, the result: I can modify myAccount, but that's all. Any attempt to change the configuration, the layout (Blocks) or Users, results in re-authentication, which obviously fails.
5
4
Quote
Status: offline
remy
Forum User
Full Member
Registered: 06/09/03
Posts: 167
Location:D-Bonn
A little debug shows (currentUrl and http_referer) :
Note: The explaining text deleted because Forum shows Access Denied al the time
The currentUrl shows a port (:443) and the referer lacks the port (:443), which is the cause?
Note: The explaining text deleted because Forum shows Access Denied al the time
The currentUrl shows a port (:443) and the referer lacks the port (:443), which is the cause?
6
4
Quote
Status: offline
remy
Forum User
Full Member
Registered: 06/09/03
Posts: 167
Location:D-Bonn
Disabled the check on http_referer in lib_security in function secint_checktoken.
That works.
Note: AI and wikipedia warns for using http_referer because it can easily be spoofed. And sometimes the header is not sent at all, due to new standards. Maybe time to implement a better check, if possible? Or disable the check when https is used?
That works.
Note: AI and wikipedia warns for using http_referer because it can easily be spoofed. And sometimes the header is not sent at all, due to new standards. Maybe time to implement a better check, if possible? Or disable the check when https is used?
4
5
Quote
Status: offline
Laugh
Site Admin
Admin
Registered: 09/27/05
Posts: 1484
Location:Canada
For Updates on this issue please see the related Github issue at:
https://github.com/Geeklog-Core/geeklog/issues/1249
One of the Geeklog Core Developers.
https://github.com/Geeklog-Core/geeklog/issues/1249
One of the Geeklog Core Developers.
5
4
Quote
Status: offline
::Ben
Site Admin
Admin
Registered: 01/14/05
Posts: 1594
Hi Remy,
I looked into your issue and found that a similar problem was reported and fixed in November 2022.
The original GitHub issue is #1139 in the Geeklog-Core/geeklog repository.
Unfortunately, the correction was committed after Geeklog 2.2.2 was released, so it is not included in the official 2.2.2 archive.
The problem appears to be related to how Geeklog determines the current URL on certain servers.
The updated version in the current development branch may resolve the issue you reported.
Could you test it on a test installation or after making a backup and let us know if it works?
I've also referenced the previous fix in your GitHub issue #1249.
Thanks!
I looked into your issue and found that a similar problem was reported and fixed in November 2022.
The original GitHub issue is #1139 in the Geeklog-Core/geeklog repository.
Unfortunately, the correction was committed after Geeklog 2.2.2 was released, so it is not included in the official 2.2.2 archive.
The problem appears to be related to how Geeklog determines the current URL on certain servers.
The updated version in the current development branch may resolve the issue you reported.
Could you test it on a test installation or after making a backup and let us know if it works?
I've also referenced the previous fix in your GitHub issue #1249.
Thanks!
3
5
Quote
Status: offline
remy
Forum User
Full Member
Registered: 06/09/03
Posts: 167
Location:D-Bonn
Following your advisory and patching, now GL runs okay.
I learned that the reported problem is due to the use of a load balancer by my hosting provider.
The header HTTP_X_FORWARDED_PROTO and HTTP_X_FORWARDED_PORT should be used as well, because the protocol (http. https) is not always correct in this case.
For more info, see the bug report GitHub issue #1249.
I learned that the reported problem is due to the use of a load balancer by my hosting provider.
The header HTTP_X_FORWARDED_PROTO and HTTP_X_FORWARDED_PORT should be used as well, because the protocol (http. https) is not always correct in this case.
For more info, see the bug report GitHub issue #1249.
4
4
Quote
All times are EST. The time is now 06:47 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content