+1
−1
+25
−1
+26
−0
Loading
libhttppp's HttpUrl::print() always spells out the port, so sitemap <loc> entries read https://tuxist.de:443/blog/gtm while canonical and og:url say https://tuxist.de/blog/gtm. Add blogi::stripDefaultPort() (https:443, http:80, IPv6-aware; other ports kept), apply it to sitemap <loc> output and to joinSiteUrl(), so every absolute URL built from the site URL is normalized too. siteurl_test covers :443/:80/:8080/:8443 and IPv6. Co-Authored-By:Claude Opus 5.5 <noreply@anthropic.com>