magento2.3 – Magento 2.3 – List redirect with dubble slash // sign after domain

For some reason our Magento 2.3.5 store redirects the product url on the category list page, that we load using the default code <?= /* @escapeNotVerified */ $_product->getProductUrl() ?>, to the product with a double slash sign after the domain.

So the url on click become; and then Magento redirects it to a page with 1 slash like:

Is there a way to remove this double slash from the url by default?