Unable to sync repository due to trailing slash

Problem:
Unable to sync repository due to trailing slash
Expected outcome:
Successfully sync LINBIT repository
Foreman and Proxy versions:
Foreman: 3.6.1
Ruby: ruby 2.7.6p219 (2022-04-12 revision c9c2245c0a) [x86_64-linux]
Puppet: 7.24.0
Foreman and Proxy plugin versions:
foreman-tasks 7.2.1
foreman_ansible 11.2.0
foreman_azure_rm 2.2.9
foreman_google 1.0.3
foreman_hooks 0.3.17
foreman_remote_execution 9.1.0
foreman_setup 8.0.1
foreman_webhooks 3.0.5
katello 4.8.1
Distribution and version:
Red Hat Enterprise Linux 8.8
Other relevant data:
LINBIT insists on the trailing slash in their repository URL:

https://packages.linbit.com/yum/rhel9/drbd-9/x86_64/Packages/

However, trying to sync the repository, the slash is stripped and I get the following error:

403, message='Forbidden', url=URL('https://packages.linbit.com/yum/rhel9/drbd-9/x86_64')

I’ve tried to work around this issue by using hammer, but no luck:

:~$ hammer repository synchronize --id 2569 --organization-id 1 --source-url="https://packages.linbit.com/yum/rhel9/drbd-9/x86_64/"
[.....................................................................................................................] [100%]
No content added.
Waiting to start.
--------------------------------
Error: 403, message='Forbidden', url=URL('https://packages.linbit.com/yum/rhel9/drbd-9/x86_64')

Is there, by any chance, an option that I don’t know about to change the sync behaviour?
Thanks!

Are you sure? What do you need to access the repository? Because if I try https://packages.linbit.com/yum/rhel9/drbd-9/x86_64/repodata/repomd.xml I’ll get a 403 forbidden.

oh, my bad, I really thought this is a public repository, but it’s not. Thanks for pointing this out!