TeamPass icon indicating copy to clipboard operation
TeamPass copied to clipboard

Teampass version 3.1.0 stipping port from GET calls on datatables.english.txt and users.datatable.php

Open phaelon74 opened this issue 1 year ago • 1 comments

Steps to reproduce

  1. Install Ubuntu 22.04
  2. Fresh install of TeamPass 3.1.0
  3. Validate everything is working as expected
  4. 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)

SafePortStripping01 SafePortStripping02

phaelon74 avatar Apr 26 '24 15:04 phaelon74

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?

phaelon74 avatar Apr 26 '24 15:04 phaelon74

Closed automatically due to inactivity (no response for over 1 year).

nilsteampassnet avatar Oct 25 '25 12:10 nilsteampassnet