Canonical link is different between version 1.4.5 and 1.4.6

Hi,

Have you an idea, why canonical link display is different between versions:
<link rel="canonical" href="{{ page.url(true, true) }}" />

Version1.4.5
<link rel = "canonical" href = "https://www.domain.com" />

Version1.4.6
<link rel = "canonical" href = "http://www.domain.com:443" />

Thanks

@teamraider13 I am using the exact same code but do not get the port appended to the url.

Have you tried 1.4.7?
Could it be a conflicting plugin?

My config is relatively clean:

  • Grav 1.4.7 (but haven’t seen issues on 1.4.6)
  • Only pre-installed plugins plus:
    • devtools
    • sitemap
    • my own home grown plugins
  • Theme is home grown.

There is a closed issue logged mentioning the port being appended to the url, but not sure if that relates to your issue. The specific issue is closed due to inactivity and a resolved other issue.

NB. Is the use of http in 1.4.6 a typo or did you intentionally switch back from https?

@pamtbaau
Thanks for your answer
My installation is 1.4.6 with the following plug-in:
Breadcrumbs
Customadmin
contacts
DevTools
error
Markdown Notices
problems
Sitemap
Theme is home.

It’s not a typo, it’s actually “http”

I had never had this before.
I am in SSL on OVH mutualised multi site. And it does this on all sites.
Regards