Details
-
Bug
-
Status: Done
-
Medium
-
Resolution: Fixed
-
2.26.0, 2.25.0
-
1
-
Yes
-
Yes
-
Server Features
Description
User Impact:
User is not able to use short version of url in case when he/she wants to share some dashboard - long version is proper short one always change hostname address to "localhost"
Steps to Reproduce:
#1 select some dashboard to share
#2 click on share btn
#3 select toggle for short url
Actual Result:
go to this url it will point to non existing page
Expected Result:
even do the url is shorted it should be still valid url
Findings:
The shortened URL is based on .ini file's domain value. If it's defined as "localhost" (the default in PMM), the URL will follow.
Solution
Check if the .ini file has localhost as domain and if the current domain is different. If so, show a warning telling users that the short URL might point to the wrong location and explain why.