The base URL is treated to make things work regardless of http/htts scheme.