Skip to content

Add support for the port component in the Host header

Grzegorz Bizon requested to merge fix/gb/fix-domain-source-host-port into master

Description

This merge request fixes a problem when the Host: header contains a non-default 80 port number. According to the RFC https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.23 the Host: header should contain a port number if it is not a default 80.

The new GitLab source was not removing the port component when asking GitLab about a domain information.

/cc @krasio @nicholasklick

Closes #278 (closed)

Edited by 🤖 GitLab Bot 🤖

Merge request reports