Teampass version 3.1.0 stipping port from GET calls on datatables.english.txt and users.datatable.php
Steps to reproduce
- Install Ubuntu 22.04
- Fresh install of TeamPass 3.1.0
- Validate everything is working as expected
- Setup a Port Redirect on FW where externally 8021 redirects through the FW to 443 internally Meaning -> the website is https://safe.domain.com if you create a host entry on the internal network but if you are external, https://safe.domain.com:8021.
Expected behaviour
Users Tab populates with the users. When accessing the site via https://safe.domain.com internally and it works.
Actual behaviour
The page is blank and never populates. I then looked into the Developer tools and can see that :8021 is being stripped when interacting with main.queries.php.
Server configuration
Operating system: Ubuntu 22.04
Web server: Nginx 1.18.0
Database: MySQL Ver 15.1 Distrib 10.6.16-MariaDB, for debian-linux-gnu (x86_64)
PHP version: 8.1
Teampass version: 3.1.0
Teampass configuration file:
Client configuration
Browser: Firefox - Latest Stable Build
Operating system: Windows 10
Logs
Web server error log
No Web Server logs in either Error or Access
Log from the web-browser developer console (CTRL + SHIFT + i)
My assumption is that for most pages, it uses the URL/URI in the requestor but for these, it might be using the URL in the settings config, maybe?
Closed automatically due to inactivity (no response for over 1 year).