What steps will reproduce the problem?
1. Run WebAnywhere on a non-standard (not 80, 443) port (i.e. 8080)
What is the expected output? What do you see instead?
When loading a page, all the links will have: hostname:port:port instead of
hostname:port
i.e. localhost:8080 will become localhost:8080:8080 breaking all links.
The port number should only appear once and links should work when clicked.
What version of the product are you using? On what operating system?
OS X, latest branch
Please provide any additional information below.
Suggested Fix:
This can be fixed by updating the reference to $_http_host in wawp.php (line
104) and index.php (line 111).
Instead of using $_http_host as is, search and replace any port numbers as
follows:
(strpos($_http_host, ':') ? strstr($_http_host, ':', true) : $_http_host)