Skip to content

Add tests for running on non standard ports

If I'm not missing something original issue is a bit outdated already. It mentions 3 lines of code working with r.Host and assumes that they causes a problem with host. As I understand original intention was to replace these r.Host with getHost func.

I found these lines:

First two already have been fixed, and the third one is actually correct.

So I just added some tests to insure that domain package work with non standard ports correctly.

Closes #164 (closed)

Edited by Vladimir Shushlin

Merge request reports