OpenGraph meta url is broken

Description

The following property is broken when using multilanguage sites:

<meta property="og:url" content="#event.getSiteUrl()##HtmlEditFormat( event.getCurrentUrl() )#" />

The Problem is, that both functions return the language short code.
This results in a: http://www.domain.com/de/de/page.html

Unfortunately this is a showstopper because it breaks all links for Facebook, etc. at once.

Environment

None

Activity

Show:
Bryan Looi
July 24, 2019, 4:17 AM
Edited


Details in PR comment.

 

Dominic Watson
August 3, 2019, 9:08 PM

Thanks

Assignee

Unassigned

Reporter

Michael Hnat

Labels

Accepted

Yes

Fix versions

Affects versions

Priority

Highest
Configure